mac_maker.utilities.spec

Extractor for Job Spec files on the local filesystem.

class mac_maker.utilities.spec.JobSpecExtractor[source]

Extractor for Job Spec files on the local filesystem.

get_job_spec_data(spec_file_location)[source]

Read a Job Spec file from an arbitrary file system location.

Parameters

spec_file_location (Union[Path, str]) – The path to the Job Spec file that will be read.

Return type

TypeSpecFileData

Returns

The Job Spec file contents, and it’s location on the filesystem.

class mac_maker.utilities.spec.TypeSpecFileData[source]

Typed representation of a loaded Job Spec file.