class DauphinStepExecution(dauphin.InputObjectType): class Meta: name = 'StepExecution' stepKey = dauphin.NonNull(dauphin.String) marshalledInputs = dauphin.List(dauphin.NonNull(DauphinMarshalledInput)) marshalledOutputs = dauphin.List(dauphin.NonNull(DauphinMarshalledOutput))
class DauphinExecutionSelector(dauphin.InputObjectType): class Meta: name = 'ExecutionSelector' description = '''This type represents the fields necessary to identify a pipeline or pipeline subset.''' name = dauphin.NonNull(dauphin.String) solidSubset = dauphin.List(dauphin.NonNull(dauphin.String)) def to_selector(self): return ExecutionSelector(self.name, self.solidSubset)
class DauphinExecutionMetadata(dauphin.InputObjectType): class Meta: name = 'ExecutionMetadata' runId = dauphin.String() tags = dauphin.List(dauphin.NonNull(DauphinExecutionTag)) def to_metadata(self): tags = {} if tags: for tag in self.tags: # pylint: disable=E1133 tags[tag['key']] = tag['value'] return ExecutionMetadata(run_id=self.runId, tags=tags)