pytuflow.ArrConfig.from_file

pytuflow.ArrConfig.from_file#

classmethod ArrConfig.from_file(path)#

Loads and validates a config from a JSON file.

Parameters:

path (PathLike) – Path to the JSON config file.

Returns:

The validated config.

Return type:

ArrConfig

Raises:

ArrConfigError – If the file does not exist, is not valid JSON, or fails validation.