resolve_payloads
faststream.asyncapi.utils.resolve_payloads #
resolve_payloads(
payloads: List[Tuple[AnyDict, str]],
extra: str = "",
served_words: int = 1,
) -> AnyDict
Resolve payloads.
PARAMETER | DESCRIPTION |
---|---|
payloads | A list of dictionaries representing payloads. |
extra | The extra string to be added to the title (default ''). TYPE: |
served_words | The number of words to be served (default 1). TYPE: |
RETURNS | DESCRIPTION |
---|---|
AnyDict | A dictionary representing the resolved payload. |