cattle_grid.dependencies
Dependencies injected by fast_depends
AccountExchange = Annotated[RabbitExchange, Depends(account_exchange)]
module-attribute
The account exchange
ActivityExchange = Annotated[RabbitExchange, Depends(exchange)]
module-attribute
The activity exchange
ClientSession = Annotated[aiohttp.ClientSession, Depends(get_client_session)]
module-attribute
The aiohttp.ClientSession used by the application
CorrelationId = Annotated[str, Context('message.correlation_id')]
module-attribute
The correlation id of the message
LookupAnnotation = Annotated[LookupMethod, Depends(get_lookup)]
module-attribute
The lookup method loaded from extensions
SqlAsyncEngine = Annotated[AsyncEngine, Depends(get_engine)]
module-attribute
Returns the SqlAlchemy AsyncEngine
Transformer = Annotated[Callable[[Dict], Awaitable[Dict]], Depends(get_transformer)]
module-attribute
The transformer loaded from extensions
fastapi
ActivityExchange = Annotated[RabbitExchange, Depends(exchange)]
module-attribute
The Activity Exchange
Broker = Annotated[RabbitBroker, Depends(broker)]
module-attribute
The RabbitMQ broker
SqlAsyncEngine = Annotated[AsyncEngine, Depends(get_engine)]
module-attribute
Returns the SqlAlchemy AsyncEngine
Transformer = Annotated[Callable[[Dict], Awaitable[Dict]], Depends(get_transformer)]
module-attribute
The transformer loaded from extensions