TrafficWeight Class
Traffic weight assigned to a revision.
Constructor
TrafficWeight(*, revision_name: str | None = None, weight: int | None = None, latest_revision: bool = False, label: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
revision_name
|
Name of a revision. Default value: None
|
weight
|
Traffic weight assigned to a revision. Default value: None
|
latest_revision
|
Indicates that the traffic weight belongs to a latest stable revision. Default value: False
|
label
|
Associates a traffic label with a revision. Default value: None
|