MCPcopy Create free account
hub / github.com/apache/qpid-proton / put_bool

Method put_bool

python/proton/_data.py:919–926  ·  view source on GitHub ↗

Puts a boolean value. :param b: a boolean value :raise: :exc:`DataException` if there is a Proton error.

(self, b: Union[bool, int])

Source from the content-addressed store, hash-verified

917 self._check(pn_data_put_null(self._data))
918
919 def put_bool(self, b: Union[bool, int]) -> None:
920 """
921 Puts a boolean value.
922
923 :param b: a boolean value
924 :raise: :exc:`DataException` if there is a Proton error.
925 """
926 self._check(pn_data_put_bool(self._data, b))
927
928 def put_ubyte(self, ub: Union[ubyte, int]) -> None:
929 """

Callers 2

testTopLevelNextMethod · 0.80
testNestedNextMethod · 0.80

Calls 2

_checkMethod · 0.95
pn_data_put_boolFunction · 0.85

Tested by

no test coverage detected