Skip to content

ArgsContainer

faststream.broker.router.ArgsContainer #

ArgsContainer(*args, **kwargs)

Class to store any arguments.

Source code in faststream/broker/router.py
def __init__(
    self,
    *args: Any,
    **kwargs: Any,
) -> None:
    self.args = args
    self.kwargs = kwargs

args instance-attribute #

args = args

kwargs instance-attribute #

kwargs = kwargs