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

Method __len__

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

Source from the content-addressed store, hash-verified

409 del self.obj.dialect_options[dialect][value_key]
410
411 def __len__(self) -> int:
412 return sum(
413 len(args._non_defaults)
414 for args in self.obj.dialect_options.values()
415 )
416
417 def __iter__(self) -> Generator[str, None, None]:
418 return (

Callers

nothing calls this directly

Calls 2

sumClass · 0.85
valuesMethod · 0.45

Tested by

no test coverage detected