MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / _deref_maybe

Function _deref_maybe

src/pointers/api_bindings.py:46–49  ·  view source on GitHub ↗
(ob: PyObjectLike[T])

Source from the content-addressed store, hash-verified

44
45
46def _deref_maybe(ob: PyObjectLike[T]) -> T:
47 if isinstance(ob, BaseObjectPointer):
48 return ~ob
49 return ob
50
51
52# autogenerated

Callers 15

checkMethod · 0.85
va_parseMethod · 0.85
fill_infoMethod · 0.85
as_stringMethod · 0.85
concatMethod · 0.85
from_objectMethod · 0.85
resizeMethod · 0.85
sizeMethod · 0.85
as_stringMethod · 0.85
as_string_and_sizeMethod · 0.85
concatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected