0.14.1
EnvironmentVersion
Package: flyteplugins.union.remote
One environment version as returned by the list call: its summary and per-cluster summaries.
Versions are independent worker pools; one environment name can have several retained versions, each listed separately.
Parameters
class EnvironmentVersion(
pb2: EnvironmentVersionItem,
)| Parameter | Type | Description |
|---|---|---|
pb2 |
EnvironmentVersionItem |
Properties
| Property | Type | Description |
|---|---|---|
action_count |
int |
|
cluster_summaries |
list[EnvironmentClusterSummary] |
|
gpu |
str |
|
id |
EnvironmentId |
|
image |
str |
|
last_updated |
str |
|
name |
str |
|
replicas |
str |
min-max when the pool can scale, else the fixed replica count. |
resources |
str |
Primary-container quantities as authored, e.g. cpu=2, memory=4Gi, gpu=1x A100. |
state |
str |
|
version |
str |
|
worker_count |
int |
Methods
| Method | Description |
|---|---|
to_dict() |
Convert the object to a JSON-serializable dictionary. |
to_json() |
Convert the object to a JSON string. |
to_dict()
def to_dict()Convert the object to a JSON-serializable dictionary.
Returns: dict: A dictionary representation of the object.
to_json()
def to_json()Convert the object to a JSON string.
Returns: str: A JSON string representation of the object.