class_docstr: Class to identify syft worker images.
  If a user provides an image's identifier with
  "docker.io/openmined/test-nginx:0.7.8", the convention we use for
  image name, tag and repo for now is
      tag = 0.7.8
      repo = openmined/test-nginx
      repo_with_tag = openmined/test-nginx:0.7.8
      full_name = docker.io/openmined/test-nginx
      full_name_with_tag = docker.io/openmined/test-nginx:0.7.8
  
  References:
      https://docs.docker.com/engine/reference/commandline/tag/#tag-an-image-referenced-by-name-and-tag
class_docstr_tok: ["Class","to","identify","syft","worker","images",".","If","a","user","provides","an","image","'s","identifier","with","''","docker.io\/openmined\/test-nginx:0.7.8","''",",","the","convention","we","use","for","image","name",",","tag","and","repo","for","now","is","tag","=","0.7.8","repo","=","openmined\/test-nginx","repo_with_tag","=","openmined\/test-nginx:0.7.8","full_name","=","docker.io\/openmined\/test-nginx","full_name_with_tag","=","docker.io\/openmined\/test-nginx:0.7.8","References",":","https",":","\/\/docs.docker.com\/engine\/reference\/commandline\/tag\/","#","tag-an-image-referenced-by-name-and-tag"]
code: def full_name_with_tag(self) -> str:
      if self.registry is None:
          return f"docker.io/{self.repo}:{self.tag}"
      elif isinstance(self.registry, str):
          return f"{self.registry}/{self.repo}:{self.tag}"
      else:
          return f"{self.registry.url}/{self.repo}:{self.tag}"
  
file_path: PySyft/packages/syft/src/syft/service/worker/image_identifier.py
imports: from typing import Optional
  from typing import Tuple
  from typing import Union
  from typing_extensions import Self
  from ...serde.serializable import serializable
  from ...types.base import SyftBaseModel
  from .image_registry import SyftImageRegistry
label_desc: Use image node_id 5 for calling the SyftWorkerImageIdentifier obj's underlying member method code with example usage: obj.full_name_with_tag() and returns: str, self, str, self, self, str, self, str, self, self, str, self, str, self