Skip to content
YosoiDocs

RegionLineage

yosoi.outcomes.RegionLineage

class RegionLineage(ImmutableModel):

Parent repeated-region identity and location for a finding.

Attributes: region_id: Authored repeated-region identifier. region_ordinal: Recorded region ordinal, preserved without renumbering. coordinate: Native location of the repeated parent region.

Source: python/yosoi/outcomes.py:700

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

region_id: RegionId
region_ordinal: U64
coordinate: NativeCoordinate
@classmethod
def new(cls, region_id: RegionId, region_ordinal: int, coordinate: NativeCoordinate) -> Self:

Create parent-region lineage while validating wire structure.

Args: region_id: Authored region identifier. region_ordinal: Recorded unsigned ordinal, preserved without renumbering. coordinate: Native parent-region location.

Returns: Lineage without verifying a region plan or resolving document coordinates.

Raises: LocatorError: Supplied values cannot form valid Rust lineage data.

Source: python/yosoi/outcomes.py:720