Skip to content

Commit

Permalink
Remove Signature
Browse files Browse the repository at this point in the history
  • Loading branch information
acl-cqc committed Jun 12, 2024
1 parent f757cae commit 15cc3ec
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions hugr-py/src/hugr/serialization/tys.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,24 +352,6 @@ class Type(RootModel):
TypeRow = list[Type]


# -------------------------------------------
# --------------- Signature -----------------
# -------------------------------------------


class Signature(ConfiguredBaseModel):
"""Describes the edges required to/from a node.
This includes both the concept of "signature" in the spec, and also the target
(value) of a call (constant).
"""

signature: "FunctionType" # The underlying signature

# The extensions which are associated with all the inputs and carried through
input_extensions: ExtensionSet


# Now that all classes are defined, we need to update the ForwardRefs in all type
# annotations. We use some inspect magic to find all classes defined in this file
# and call model_rebuild()
Expand Down

0 comments on commit 15cc3ec

Please sign in to comment.