extend_dependencies
faststream.broker.core.abc.extend_dependencies #
extend_dependencies(
extra: Sequence[CallModel[Any, Any]],
dependant: CallModel[Any, Any],
) -> CallModel[Any, Any]
Extends the dependencies of a function or FastAPI dependency.
PARAMETER | DESCRIPTION |
---|---|
extra | Additional dependencies to be added. |
dependant | The function or FastAPI dependency whose dependencies will be extended. |
RETURNS | DESCRIPTION |
---|---|
CallModel[Any, Any] | The updated function or FastAPI dependency. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/broker/core/abc.py
Last update: 2023-11-13