def shell_context_processor(
        self, f: T_shell_context_processor
    ) -> T_shell_context_processor:
        """Registers a shell context processor function.

        .. versionadded:: 0.11
        """
        self.shell_context_processors.append(f)
        return f
Registers a shell context processor function.

        .. versionadded:: 0.11
        
src/flask/sansio/app.py