temporalio.worker.WorkerDeploymentVersion

class documentation

Represents the version of a specific worker deployment.

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
Method _to_proto Convert to proto representation.

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.

Convert to proto representation.