MCPcopy
hub / github.com/tortoise/tortoise-orm / _WhenThen

Class _WhenThen

tortoise/expressions.py:642–647  ·  view source on GitHub ↗

This is not a real term, but a helper to store the when and then terms.

Source from the content-addressed store, hash-verified

640
641
642class _WhenThen(Term):
643 """This is not a real term, but a helper to store the when and then terms."""
644
645 def __init__(self, when: Term, then: Term) -> None:
646 self.when = when
647 self.then = then
648
649
650class When(Expression):

Callers 1

resolveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…