code: def load_context(ctx_path, ctx_type, scm=None):
      
      if ctx_path == '-':
          return loads(sys.stdin.read(), ac_parser=ctx_type, ac_schema=scm)
  
      return load(ctx_path, ac_parser=ctx_type, ac_schema=scm)
docs: :param ctx_path: context file path or '-' (read from stdin)
      :param ctx_type: context file type
      :param scm: JSON schema file in any formats anyconfig supports, to
          validate given context files