Skip to content

UvicornExtraConfig

faststream.cli.supervisors.asgi_multiprocess.UvicornExtraConfig #

UvicornExtraConfig(run_extra_options, *args, **kwargs)

Bases: Config

Source code in faststream/cli/supervisors/asgi_multiprocess.py
def __init__(
    self,
    run_extra_options: Dict[str, "SettingField"],
    *args: Any,
    **kwargs: Any,
) -> None:
    super().__init__(*args, **kwargs)
    self._run_extra_options = run_extra_options

load #

load()
Source code in faststream/cli/supervisors/asgi_multiprocess.py
def load(self) -> None:
    super().load()
    self.loaded_app.app._run_extra_options = self._run_extra_options