LineageEvent

pydantic model openapi_client.models.lineage_event.LineageEvent

One timestamp-grouped lineage event. Attach/detach rows for the same EventTime are merged; Message strings are concatenated.

Fields:
field event_time: Optional[StrictStr] = None (alias 'EventTime')

Event timestamp from TargetResourceKey (not the literal “latest” sentinel rows).

field version: Optional[StrictStr] = None (alias 'Version')

Label assigned as vN before paging (for example v3, v2, v1 across the full unpaged list).

field message: Optional[StrictStr] = None (alias 'Message')

Concatenated messages for this timestamp. Duplicate “Resource attachments updated.” text is not repeated.

field resources_attached: Optional[List[LineageEventResourceRef]] = None (alias 'ResourcesAttached')

Targets from resource-attach events at this timestamp.

field resources_detached: Optional[List[LineageEventResourceRef]] = None (alias 'ResourcesDetached')

Targets from resource-detach events at this timestamp.

to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of LineageEvent from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of LineageEvent from a dict

Return type:

Optional[Self]