class_docstr: A static class to manage the global secret cache.
docstr: Try to get the uri associated with the conn_id from the cache.
  
  :return: The saved uri if present in cache and not expired,
      a NotPresent exception otherwise.
docstr_tok: ["Try","to","get","the","uri","associated","with","the","conn_id","from","the","cache",".",":","return",":","The","saved","uri","if","present","in","cache","and","not","expired",",","a","NotPresent","exception","otherwise","."]
code: def get_connection_uri(cls, conn_id: str) -> str:
      """
      Try to get the uri associated with the conn_id from the cache.
  
      :return: The saved uri if present in cache and not expired,
          a NotPresent exception otherwise.
      """
      val = cls._get(conn_id, cls._CONNECTION_PREFIX)
      if (
          val
      ):  # there shouldn't be any empty entries in the connections cache, but we enforce it here.
          return val
      raise cls.NotPresentException
  
file_path: airflow/airflow/secrets/cache.py
imports: from __future__ import annotations
  import datetime
  import multiprocessing
  from airflow.configuration import conf
label_desc: Use image node_id 4 for calling the SecretCache obj's underlying member method code with example usage: obj.get_connection_uri(cls, conn_id) and returns: val