MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / is_instrumented

Method is_instrumented

lib/sqlalchemy/orm/instrumentation.py:478–482  ·  view source on GitHub ↗
(self, key: str, search: bool = False)

Source from the content-addressed store, hash-verified

476 return adapter, user_data
477
478 def is_instrumented(self, key: str, search: bool = False) -> bool:
479 if search:
480 return key in self
481 else:
482 return key in self.local_attrs
483
484 def get_impl(self, key: str) -> _AttributeImpl:
485 return self[key].impl

Callers 2

is_instrumentedFunction · 0.80

Calls

no outgoing calls

Tested by 1