TestApp
faststream.TestApp #
A class to represent a test application.
METHOD | DESCRIPTION |
---|---|
__init__ | initializes the TestApp object |
__aenter__ | enters the asynchronous context and starts the FastStream application |
__aexit__ | exits the asynchronous context and stops the FastStream application |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Initialize a class instance.
PARAMETER | DESCRIPTION |
---|---|
app | An instance of the FastStream class. TYPE: |
run_extra_options | Optional dictionary of extra options for running the application. |
RETURNS | DESCRIPTION |
---|---|
None | None |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/broker/test.py
Last update: 2023-11-13