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

Method exit

python/proton/_data.py:755–763  ·  view source on GitHub ↗

Sets the current node to the parent node and the parent node to its own parent. :return: ``True`` iff the pointers to the current/parent nodes are changed, ``False`` otherwise.

(self)

Source from the content-addressed store, hash-verified

753 return pn_data_enter(self._data)
754
755 def exit(self) -> bool:
756 """
757 Sets the current node to the parent node and the parent node to
758 its own parent.
759
760 :return: ``True`` iff the pointers to the current/parent nodes are changed,
761 ``False`` otherwise.
762 """
763 return pn_data_exit(self._data)
764
765 def lookup(self, name: str) -> bool:
766 return pn_data_lookup(self._data, name)

Callers 15

put_dictMethod · 0.95
get_dictMethod · 0.95
put_sequenceMethod · 0.95
get_sequenceMethod · 0.95
get_py_describedMethod · 0.95
put_py_describedMethod · 0.95
get_py_arrayMethod · 0.95
put_py_arrayMethod · 0.95
testNestedNextMethod · 0.80
testEnterExitMethod · 0.80
_testArrayMethod · 0.80
test_describedMethod · 0.80

Calls 1

pn_data_exitFunction · 0.85

Tested by 1

test_describedMethod · 0.64