ECLYPSEDataImporter#

class eclypse.io.graphs.ECLYPSEDataImporter[source]#

Bases: GraphImporter[AssetGraph, dict[str, Any]]

Base importer for the canonical ECLYPSE graph dictionary.

Methods

from_data(data, *[, kind, context])

Convert canonical ECLYPSE graph data into a graph object.

from_data(data, *, kind=None, context=None)[source]#

Convert canonical ECLYPSE graph data into a graph object.

Parameters:
  • data (dict[str, Any]) – The canonical graph representation.

  • kind (GraphKind | None) – Optional graph kind requested by the caller.

  • context (IOContext | None) – Optional import/export customisation.

Returns:

The deserialised graph.

Return type:

AssetGraph

Raises:

ValueError – If the schema version or graph kind is unsupported.