Import

class hugr.model.Import(name: str, version: Version | None = None)[source]

Bases: Op

Import operation.

Methods

symbol_name

Returns name of the symbol introduced by this node, if any.

Attributes

version

name

symbol_name() str | None[source]

Returns name of the symbol introduced by this node, if any.