InputParametersRegistry
- class ase2sprkkr.input_parameters.task_definition.InputParametersRegistry(package)[source]
Registry and factory service for input-parameter schemas and values.
Class hierarchy
Constructor
- iter_canonical_values(*, name_contains=None)[source]
Yield canonical IPDs, excluding named copies used as presets.
- create_for_task(task, *, inputfile=None, outputfile=False)[source]
Create InputParameters for a resolved TaskDefinition.
- read_for_task(task, file, *, input_definition=None, allow_dangerous=False, allow_incomplete=False, report_invalid=None)[source]
Read input with an exact schema and require it to represent task.
input_definitionis primarily for historical reconstruction: when omitted, the task’s current declared schema is used. Passing a schema name or definition selects that exact schema. An explicit definition object may intentionally be unregistered, which supports experimental or custom parsers while retaining the task-identity check.In strict mode the expected task is not supplied as parsing context. In incomplete mode it is available to callable defaults, but any explicit selector in the file must still agree with the expected task. This allows recovery of a partial file without silently overriding a conflicting task identity.
- create_from_result(task, result)[source]
Create InputParameters for task using snapshot defaults from result.