CatalogItemDependenciesResponse

pydantic model openapi_client.models.catalog_item_dependencies_response.CatalogItemDependenciesResponse

Success body for GET /catalog/{datasource_id}/item-dependencies/{asset_id}. The graph is returned as a flat node list; edges are carried inside each node’s Input and Output arrays rather than as a separate collection. This shape is distinct from the OpenLineage-based body returned by GET /{resource}/{id}/lineageV2, which uses the LineageResponse schema. Do not treat the two as interchangeable.

Fields:
field lineage_graph: List[CatalogItemDependencyNode] [Required] (alias 'LineageGraph')

Nodes of the dependency graph. When the asset has no dependencies this still returns HTTP 200 with a single element describing the asset itself and empty Input and Output arrays; there is no 404 for an asset without dependencies.

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 CatalogItemDependenciesResponse 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 CatalogItemDependenciesResponse from a dict

Return type:

Optional[Self]