StepSpec#
- class rapidtools.jobs.StepSpec(id: str, type: str, inputs: dict[str, ~typing.Any]=<factory>, params: dict[str, ~typing.Any]=<factory>, metadata: dict[str, ~typing.Any]=<factory>)[source]#
Bases:
objectOne step of a job, exactly as written in the job file.
- Variables:
Example
>>> step = StepSpec(id='detect', type='detect.aerial', ... inputs={'raster': 'scene.tiff'}, ... params={'assets': ['building']}) >>> step.to_dict()['type'] 'detect.aerial'
Methods