class_docstr: Base configuration object YAML (de-)serialization.
  Actual Configuration should subclass this object.
class_docstr_tok: ["Base","configuration","object","YAML","(","de-",")","serialization",".","Actual","Configuration","should","subclass","this","object","."]
docstr: Returns a Config object loaded from a file.
  
  :param fname: Name of file to load the Config from.
  :return: Configuration.
docstr_tok: ["Returns","a","Config","object","loaded","from","a","file",".",":","param","fname",":","Name","of","file","to","load","the","Config","from",".",":","return",":","Configuration","."]
code: def load(fname: str) -> "Config":
      """
      Returns a Config object loaded from a file.
  
      :param fname: Name of file to load the Config from.
      :return: Configuration.
      """
      with open(fname) as inp:
          obj = yaml.load(inp, Loader=SafeLoaderWithTuple)  # type: ignore
          return obj
  
file_path: sockeye/sockeye/config.py
imports: import copy
  import logging
  from dataclasses import dataclass
  import yaml
label_desc: Use image node_id 2 for calling the Config obj's underlying member method code with example usage: obj.load(fname) and returns: obj