cattle_grid.dependencies.processing ¶
Furthermore, you may use the annotations from muck_out.cattle_grid starting with Fetch or Parsed.
AccountForActor
module-attribute
¶
Returns the account associated with the actor or raises an error
ActorId
module-attribute
¶
ActorId of the actor processing the message
ActorProfile
module-attribute
¶
Returns the actor profile of the actor processing the message
FactoriesForActor
module-attribute
¶
FactoriesForActor = Annotated[
tuple[ActivityFactory, ObjectFactory],
Depends(get_factories_for_actor),
]
Returns the activity and object factories for the actor
MessageActor
module-attribute
¶
Returns the actor for the message
PermissionsForAccount
module-attribute
¶
Returns the permissions of the account associated with the actor