MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __bool__

Method __bool__

lib/sqlalchemy/sql/lambdas.py:1379–1381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1377 return param._with_value(to_evaluate, maintain_key=True)
1378
1379 def __bool__(self):
1380 to_evaluate = object.__getattribute__(self, "_to_evaluate")
1381 return bool(to_evaluate)
1382
1383 def __getattribute__(self, key):
1384 if key.startswith("_sa_"):

Callers

nothing calls this directly

Calls 1

__getattribute__Method · 0.45

Tested by

no test coverage detected