EnvelopeConfig¶
- class hugr.envelope.EnvelopeConfig(format: EnvelopeFormat = EnvelopeFormat.JSON, zstd: int | None = None)[source]¶
Bases:
object
Configuration for writing a HUGR envelope.
- format¶
The format to use for encoding the HUGR.
- zstd¶
The compression level to use, or None for no compression. Use 0 for the default level.
- Type:
int | None
Methods
Attributes