CompartmentDef
self, name, tags, description=None) compartment_model.CompartmentDef(
Defines an IPM compartment.
CompartmentDef is a frozen dataclass.
Attributes
name: CompartmentName
-
The name of the compartment.
tags: list[str]
-
Tags associated with the compartment.
description: str | None
-
An optional description.
Methods
Name | Description |
---|---|
with_strata |
Return a copy of this compartment with the strata changed. |