temporalio.worker.WorkerDeploymentVersion
class documentation

Represents the version of a specific worker deployment.

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

Convert to proto representation.