Skip to content
YosoiDocs

Region

yosoi.locators.Region

class Region(ImmutableModel):

One authored repeated-region query and its lineage identity.

Attributes: id: Unique authored repeated-region identity. query: Root query without an existing parent region; nested regions are unsupported.

Source: python/yosoi/locators.py:474

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

id: RegionId
query: Query
def find(self, query: Query) -> Query:

Scope a query within each match of this repeated-region root.

Args: query: Query intent to evaluate inside this region’s matched evidence.

Returns: A revalidated query carrying this parent-region declaration.

Source: python/yosoi/locators.py:493