MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / values

Method values

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

Source from the content-addressed store, hash-verified

244 return result
245
246 def values(self) -> List[object]:
247 values = self.all_states()
248 result = []
249 for state in values:
250 value = state.obj()
251 if value is not None:
252 result.append(value)
253
254 return result
255
256 def __iter__(self) -> Iterator[_IdentityKeyType[Any]]:
257 return iter(self.keys())

Callers

nothing calls this directly

Calls 2

all_statesMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected