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

Method get_string

python/proton/_data.py:1361–1367  ·  view source on GitHub ↗

Get the current node value as ``str``. :return: If the current node is a string, its value, ``""`` otherwise.

(self)

Source from the content-addressed store, hash-verified

1359 return pn_data_get_binary(self._data)
1360
1361 def get_string(self) -> str:
1362 """
1363 Get the current node value as ``str``.
1364
1365 :return: If the current node is a string, its value, ``""`` otherwise.
1366 """
1367 return pn_data_get_string(self._data)
1368
1369 def get_symbol(self) -> symbol:
1370 """

Callers

nothing calls this directly

Calls 1

pn_data_get_stringFunction · 0.90

Tested by

no test coverage detected