code: def get_context(context: str | None) -> CloudClientContext:
      return CloudClientConfig.get_config().get_context(context)
  
imports: from __future__ import annotations
  import logging
  import typing
  import attr
  import yaml
  from simple_di import Provide
  from simple_di import inject
  from ...exceptions import CloudRESTApiClientError
  from ..configuration.containers import BentoMLContainer
  from ..utils import bentoml_cattr
  from .client import RestApiClient
label_desc: Use image node_id 2 for calling a global function with example usage: get_context(context) and returns: CloudClientConfig