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

Add a from_json to hugr.ext.Extension #1523

Open
aborgna-q opened this issue Sep 4, 2024 · 0 comments
Open

Add a from_json to hugr.ext.Extension #1523

aborgna-q opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request python Pull requests that update Python code

Comments

@aborgna-q
Copy link
Collaborator

Currently loading an extensions requires calling

hugr._serialization.extension.Extension.model_validate_json(json_str).deserialize()
@aborgna-q aborgna-q added enhancement New feature or request python Pull requests that update Python code labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

1 participant