ExtensionVersions¶
- class hugr.ext.ExtensionVersions(latest: Extension)[source]¶
Bases:
objectSet of versions of an extension.
Older versions of an extension may be kept for backwards compatibility.
Methods
Add an extension to the set.
Attributes
Get the ID of the extension.
Get latest version of the extension.
Get all versions of the extension.
- property id: ExtensionId¶
Get the ID of the extension.