qis.get_output_path

qis.get_output_path(local_path=None, *, settings_path=None, create=True)[source]

Resolve the output directory through YAML, creating missing parents by default.

Parameters:
  • local_path (str | Path | None) – Explicit directory override; bypasses YAML resolution.

  • settings_path (str | Path | None) – Explicit YAML file; otherwise use the YAML beside this module.

  • create (bool) – Create the directory. Set False for a report writer requiring a fresh path.

Returns:

Absolute output directory as a string; never a temporary-directory fallback.

Raises:
Return type:

str