MCPcopy
hub / github.com/benoitc/gunicorn / make_end_message

Function make_end_message

gunicorn/dirty/protocol.py:746–759  ·  view source on GitHub ↗

Build an end-of-stream message dict. Args: request_id: Request identifier this ends Returns: dict: End message dict

(request_id)

Source from the content-addressed store, hash-verified

744
745
746def make_end_message(request_id) -> dict:
747 """
748 Build an end-of-stream message dict.
749
750 Args:
751 request_id: Request identifier this ends
752
753 Returns:
754 dict: End message dict
755 """
756 return {
757 "type": DirtyProtocol.MSG_TYPE_END,
758 "id": request_id,
759 }
760
761
762def make_stash_message(request_id, op: int, table: str,

Calls

no outgoing calls