Term

class hugr.model.Term[source]

Bases: object

A model term for static data such as types, constants and metadata.

Methods

from_str

Read the term from its string representation.

to_list_parts

to_tuple_parts

static from_str(s: str) Term[source]

Read the term from its string representation.