Skip to main content
Version: 2.x

bursar.load_config_file

bursar.load_config_file(path)

Load a Bursar configuration from a JSON or YAML file.

  • Parameters: path (str | Path) – Path to the Bursar config file (.json or .yaml/.yml).
  • Returns: The parsed configuration dictionary.
  • Raises: ConfigError – If the file is missing, is a directory, has an unsupported format, contains invalid content, or is empty.
  • Return type: dict[str, Any]