class documentation

Represents the version of a specific worker deployment.

WARNING: Experimental API.

Static Method from_canonical_string Parse a version from a canonical string, which must be in the format <deployment_name>.. Deployment name must not have a . in it.
Method to_canonical_string Returns the canonical string representation of the version.
Class Variable build_id Undocumented
Class Variable deployment_name Undocumented
@staticmethod
def from_canonical_string(canonical: str) -> WorkerDeploymentVersion: (source)

Parse a version from a canonical string, which must be in the format <deployment_name>.. Deployment name must not have a . in it.

def to_canonical_string(self) -> str: (source)

Returns the canonical string representation of the version.

build_id: str = (source)

Undocumented

deployment_name: str = (source)

Undocumented