MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / is_instrumented

Method is_instrumented

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

Source from the content-addressed store, hash-verified

484 return adapter, user_data
485
486 def is_instrumented(self, key: str, search: bool = False) -> bool:
487 if search:
488 return key in self
489 else:
490 return key in self.local_attrs
491
492 def get_impl(self, key: str) -> AttributeImpl:
493 return self[key].impl

Callers 2

is_instrumentedFunction · 0.80

Calls

no outgoing calls

Tested by 1