MCPcopy Create free account
hub / github.com/Azure/azure-functions-python-library / __init__

Method __init__

azure/functions/_queue.py:24–33  ·  view source on GitHub ↗
(self, *,
                 id: typing.Optional[str] = None,
                 body: typing.Optional[typing.Union[str, bytes]] = None,
                 pop_receipt: typing.Optional[str] = None)

Source from the content-addressed store, hash-verified

22 """
23
24 def __init__(self, *,
25 id: typing.Optional[str] = None,
26 body: typing.Optional[typing.Union[str, bytes]] = None,
27 pop_receipt: typing.Optional[str] = None) -> None:
28 self.__id = id
29 self.__body = b''
30 self.__pop_receipt = pop_receipt
31
32 if body is not None:
33 self.__set_body(body)
34
35 @property
36 def id(self) -> typing.Optional[str]:

Callers

nothing calls this directly

Calls 1

__set_bodyMethod · 0.95

Tested by

no test coverage detected