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

Method get_object

python/proton/_data.py:1628–1636  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1626 putter(self, obj)
1627
1628 def get_object(self) -> Optional[Any]:
1629 type = self.type()
1630 if type is None:
1631 return None
1632 getter = self.get_mappings.get(type)
1633 if getter:
1634 return getter(self)
1635 else:
1636 return UnmappedType(str(type))
1637
1638
1639def dat2obj(dimpl):

Callers 11

_post_decodeMethod · 0.95
get_dictMethod · 0.95
get_sequenceMethod · 0.95
get_py_describedMethod · 0.95
get_py_arrayMethod · 0.95
dat2objFunction · 0.95
testRoundTripMethod · 0.95
testBufferMethod · 0.95
testMemoryViewMethod · 0.95
testLookupMethod · 0.80
assert_nextMethod · 0.80

Calls 5

typeMethod · 0.95
getterClass · 0.85
UnmappedTypeClass · 0.85
strFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected