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

Function _not_null

src/pointers/bindings.py:167–169  ·  view source on GitHub ↗
(data: Optional[T])

Source from the content-addressed store, hash-verified

165
166
167def _not_null(data: Optional[T]) -> T:
168 assert data is not None, f"{data} is None"
169 return data
170
171
172StructMap = Dict[Type[ctypes.Structure], Type["Struct"]]

Callers 1

make_charFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected