Skip to content

polychron.models.RemoveStratigraphicRelationshipModel Module

RemoveStratigraphicRelationshipModel dataclass

Dataclass / MVP model containing data required for removing a stratigraphic relationship between two contexts from the model

context_u instance-attribute

context_u: str

The label for the origin context to be removed

context_v instance-attribute

context_v: str

The label for the origin context to be removed

reason class-attribute instance-attribute

reason: str | None = None

The reason the context was removed

edge_label

edge_label() -> str

Get the label representing the edge being removed

Returns:

Type Description
str

The label for the edge being removed