GraphImporter.read_data#

abstractmethod GraphImporter.read_data(source, *, context=None)[source]

Read importer data from a source.

Parameters:
  • source (str | Path) – The source path to read.

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

Returns:

The intermediate representation handled by from_data().

Return type:

TData