Bases: Protocol[AnyMsg, PublishCommandType_contra]
messaging_system
instance-attribute
get_consume_attrs_from_message
get_consume_attrs_from_message(msg)
Source code in faststream/prometheus/provider.py
| def get_consume_attrs_from_message(
self,
msg: "StreamMessage[AnyMsg]",
) -> "ConsumeAttrs": ...
|
get_publish_destination_name_from_cmd
get_publish_destination_name_from_cmd(cmd)
Source code in faststream/prometheus/provider.py
| def get_publish_destination_name_from_cmd(
self,
cmd: PublishCommandType_contra,
) -> str: ...
|