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

Method __len__

lib/sqlalchemy/sql/base.py:440–441  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

438 self._defaults: Dict[str, Any] = {}
439
440 def __len__(self) -> int:
441 return len(set(self._non_defaults).union(self._defaults))
442
443 def __iter__(self) -> Iterator[str]:
444 return iter(set(self._non_defaults).union(self._defaults))

Callers

nothing calls this directly

Calls 1

unionMethod · 0.45

Tested by

no test coverage detected