Literal¶ class hugr.model.Literal(value: str | float | int | bytes)[source]¶ Bases: Term Static literal value. Methods from_str Read the term from its string representation. Attributes value static from_str(s: str) → Term¶ Read the term from its string representation.