build_message
faststream.nats.test.build_message #
build_message(
message: SendableMessage,
subject: str,
*,
reply_to: str = "",
correlation_id: Optional[str] = None,
headers: Optional[AnyDict] = None
) -> PatchedMessage
Source code in faststream/nats/test.py
Last update: 2023-11-13