Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve serialised types/ops to extensions in python #1412

Closed
Tracked by #1344
ss2165 opened this issue Aug 9, 2024 · 0 comments · Fixed by #1413
Closed
Tracked by #1344

Resolve serialised types/ops to extensions in python #1412

ss2165 opened this issue Aug 9, 2024 · 0 comments · Fixed by #1413
Assignees

Comments

@ss2165
Copy link
Member

ss2165 commented Aug 9, 2024

No description provided.

@ss2165 ss2165 self-assigned this Aug 9, 2024
github-merge-queue bot pushed a commit that referenced this issue Aug 14, 2024
Allows users to define extensions in Python, attaching operation, type
and value definitions to them. Also provides utilities for then using
those objects when building HUGRs.

Diff is big, but a lot of it is poetry and schema changes. Open to
suggestions as to how to break up but I think it is fairly
self-contained.

Closes #1374
Closes #1412 
Also as a drive-by adds the missing `binary` field to serialised opdef
signatures.


BREAKING CHANGE: `AsCustomOp` replaced with `AsExtOp`, so all such
operations now need to be attached to an extension.

---------

Co-authored-by: Alec Edgington <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant