cattle_grid.tools.dependencies ¶
This package include dependencies meant to be used outside of a cattle_grid context.
Dependencies defined in cattle_grid.dependencies require a cattle_grid context, e.g.
you are writing a cattle_grid extension.
AccountName
module-attribute
¶
Assigns the account name extracted from the routing key
AccountPublisher
module-attribute
¶
When processing on the AccountExchange, allows one to publish a message as the current account. Usage
ActorId
module-attribute
¶
ActorId of the actor processing the message
CurrentExchange
module-attribute
¶
CurrentExchange = Annotated[
RabbitExchange, Depends(current_exchange)
]
Returns the exchange the message was received on