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

Method __contains__

lib/sqlalchemy/engine/row.py:369–370  ·  view source on GitHub ↗
(self, key: object)

Source from the content-addressed store, hash-verified

367 return (k for k in self._parent.keys if k is not None)
368
369 def __contains__(self, key: object) -> bool:
370 return self._parent._has_key(key)
371
372 def __repr__(self) -> str:
373 return repr(dict(self))

Callers

nothing calls this directly

Calls 1

_has_keyMethod · 0.45

Tested by

no test coverage detected