QueueMessage(*, id: str | None = None, body: str | bytes | None = None, pop_receipt: str | None = None)
Parameters Keyword-Only Parameters Methods get_body
Return message content as bytes.
get_jsonDecode and return message content as a JSON object.
get_bodyReturn message content as bytes.
get_body() -> bytes
get_json
Decode and return message content as a JSON object.
get_json() -> Any
Returns Exceptions Attributes dequeue_count
The number of times this message has been dequeued.
expiration_timeA datetime object with the message expiry time.
insertion_timeA datetime object with the message queue insertion time.
pop_receiptThe message pop receipt token as a string.
time_next_visibleA datetime object with the time the message will be visible next.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4