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

Method contains

lib/sqlalchemy/orm/path_registry.py:246–247  ·  view source on GitHub ↗
(self, attributes: Dict[Any, Any], key: Any)

Source from the content-addressed store, hash-verified

244 return False
245
246 def contains(self, attributes: Dict[Any, Any], key: Any) -> bool:
247 return (key, self.path) in attributes
248
249 def __reduce__(self) -> Any:
250 return _unreduce_path, (self.serialize(),)

Callers 3

_setup_for_recursionMethod · 0.45
setup_queryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected