Skip to content

Export core metadata keys in hugr-py #2757

@aborgna-q

Description

@aborgna-q

Follow up to #2755, which added type-safe metadata to the rust lib and centralized the definitions.

We should also define a hugr.metadata submodule in hugr-py and re-export the keys from the rust side using the bindings.
Can we define some safe Protocol for these?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-pythonArea: Python codeP-easyCall for participation: Experience needed to fix: Easy / not much

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions