Skip to main content
Version: latest

agrag.schema.formats.result.ImportResult

ImportResult(schema:GraphSchema, warnings:list[FormatWarning] = list()) -> None

A schema read from another format, with everything the read lost.

Attributes:

  • schema (GraphSchema) – The imported schema.
  • warnings (list[FormatWarning]) – One entry for each dropped or changed element, in the order the importer found them. Empty when the import lost nothing.

schema​

schema: GraphSchema

warnings​

warnings: list[FormatWarning] = field(default_factory=list)