def get_image_tag(self,<EOL>requirements_option: RequirementsOptions,<EOL>requirements_hash: Optional[str],<EOL>dependencies: Optional[List[str]]) -> str:
prefix = "<STR_LIT>"<EOL>if self.inherit_image is None:<EOL><INDENT>prefix = "<STR_LIT>".format(arca.__version__, self.get_python_version())<EOL><DEDENT>prefix += "<STR_LIT:i>" if self.inherit_image is not None else "<STR_LIT:a>"<EOL>prefix += "<STR_LIT:r>" if requirements_option != RequirementsOptions.no_requirements else "<STR_LIT:s>"<EOL>prefix += "<STR_LIT:d>" if dependencies is not None else "<STR_LIT:e>"<EOL>if self.inherit_image is not None:<EOL><INDENT>if requirements_hash:<EOL><INDENT>return prefix + "<STR_LIT:_>" + requirements_hash<EOL><DEDENT>return prefix<EOL><DEDENT>if dependencies is None:<EOL><INDENT>dependencies_hash = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>dependencies_hash = self.get_dependencies_hash(dependencies)<EOL><DEDENT>if requirements_hash and dependencies_hash:<EOL><INDENT>return prefix + "<STR_LIT:_>" + hashlib.sha256(bytes(requirements_hash + dependencies_hash, "<STR_LIT:utf-8>")).hexdigest()<EOL><DEDENT>elif requirements_hash:<EOL><INDENT>return f"<STR_LIT>"<EOL><DEDENT>elif dependencies_hash:<EOL><INDENT>return f"<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>return prefix<EOL><DEDENT>
Returns the tag for images with the dependencies and requirements installed.

        64-byte hexadecimal strings cannot be used as docker tags, so the prefixes are necessary.
        Double hashing the dependencies and requirements hash to make the final tag shorter.

        Prefixes:

        * Image type:

          * i – Inherited image
          * a – Arca base image

        * Requirements:

          * r – Does have some kind of requirements
          * s – Doesn't have requirements

        * Dependencies:

          * d – Does have dependencies
          * e – Doesn't have dependencies

        Possible outputs:

        * Inherited images:

          * `ise` – no requirements
          * `ide_<hash(requirements)>` – with requirements

        * From Arca base image:

          * `<Arca version>_<Python version>_ase` – no requirements and no dependencies
          * `<Arca version>_<Python version>_asd_<hash(dependencies)>` – only dependencies
          * `<Arca version>_<Python version>_are_<hash(requirements)>` – only requirements
          * `<Arca version>_<Python version>_ard_<hash(hash(dependencies) + hash(requirements))>`
            – both requirements and dependencies