MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __iter__

Method __iter__

lib/sqlalchemy/orm/identity.py:256–257  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

254 return result
255
256 def __iter__(self) -> Iterator[_IdentityKeyType[Any]]:
257 return iter(self.keys())
258
259 def all_states(self) -> List[InstanceState[Any]]:
260 return list(self._dict.values())

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected