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

Method put_float

python/proton/_data.py:1027–1034  ·  view source on GitHub ↗

Puts a float value. :param f: a floating point value :raise: :exc:`DataException` if there is a Proton error.

(self, f: Union[float32, float, int])

Source from the content-addressed store, hash-verified

1025 self._check(pn_data_put_timestamp(self._data, t))
1026
1027 def put_float(self, f: Union[float32, float, int]) -> None:
1028 """
1029 Puts a float value.
1030
1031 :param f: a floating point value
1032 :raise: :exc:`DataException` if there is a Proton error.
1033 """
1034 self._check(pn_data_put_float(self._data, f))
1035
1036 def put_double(self, d: Union[float, int]) -> None:
1037 """

Callers

nothing calls this directly

Calls 2

_checkMethod · 0.95
pn_data_put_floatFunction · 0.85

Tested by

no test coverage detected