MCPcopy
hub / github.com/marimo-team/marimo / is_instance_by_name

Function is_instance_by_name

marimo/_runtime/primitives.py:138–142  ·  view source on GitHub ↗
(obj: object, name: str)

Source from the content-addressed store, hash-verified

136
137
138def is_instance_by_name(obj: object, name: str) -> bool:
139 if not (hasattr(obj, "__module__") and hasattr(obj, "__class__")):
140 return False
141 obj_name = f"{obj.__module__}.{obj.__class__.__name__}"
142 return obj_name == name
143
144
145def is_unclonable_type(obj: object) -> bool:

Callers 2

is_data_primitiveFunction · 0.85
is_unclonable_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…