Skip to content

LookupBy

relationalai.semantics.frontend.base
LookupBy(item: Concept | Ref, kwargs: dict[str, Any])

Represents a keyword-based lookup expression rooted at a reference.

This is returned by Concept.lookup and Ref.lookup. Concept.lookup(...) creates an implicit reference first, so it behaves like Concept.ref().lookup(...).

  • item

    (Concept | Ref) - The concept (or specific reference) used as the lookup root.
  • kwargs

    (dict[str, Any]) - Property/relationship values to match (keys are treated case-insensitively).

Most users should not instantiate this class directly. Prefer Concept.lookup and Ref.lookup.

LookupByExpressionVariableDSLBase
 semantics > frontend > base
├──  Concept
│   └──  lookup
└──  Ref
    └──  lookup