def __init__(self, name: str, *, template: Optional[Union[ProcessTemplate, LinkByUID]] = None, conditions: Iterable[Condition] = None, parameters: Iterable[Parameter] = None, uids: Mapping[str, str] = None, tags: Iterable[str] = None, notes: str = None, file_links: Optional[Union[Iterable[FileLink], FileLink]] = None): from gemd.entity.object.ingredient_spec import IngredientSpec from gemd.entity.link_by_uid import LinkByUID BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasTemplate.__init__(self, template=template) HasParameters.__init__(self, parameters=parameters) HasConditions.__init__(self, conditions=conditions) # By default, a ProcessSpec is not linked to any MaterialSpec. # If a MaterialSpec is linked to this ProcessSpec, # then the field self._output_material will be automatically populated self._output_material = None self._ingredients = validate_list(None, [IngredientSpec, LinkByUID])
def __init__(self, name=None, spec=None, conditions=None, parameters=None, uids=None, tags=None, notes=None, file_links=None, source=None): BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasConditions.__init__(self, conditions) HasParameters.__init__(self, parameters) HasSource.__init__(self, source) self._ingredients = [] self._spec = None self.spec = spec self._output_material = None
def __init__(self, name=None, spec=None, material=None, properties=None, conditions=None, parameters=None, uids=None, tags=None, notes=None, file_links=None, source=None): BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasProperties.__init__(self, properties) HasConditions.__init__(self, conditions) HasParameters.__init__(self, parameters) HasSource.__init__(self, source) self._material = None self.material = material self._spec = None self.spec = spec
def __init__(self, name=None, template=None, parameters=None, conditions=None, uids=None, tags=None, notes=None, file_links=None): BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasParameters.__init__(self, parameters=parameters) HasConditions.__init__(self, conditions=conditions) self._ingredients = [] # By default, a ProcessSpec is not linked to any MaterialSpec. # If a MaterialSpec is linked to this ProcessSpec, # then the field self._output_material will be automatically populated self._output_material = None HasTemplate.__init__(self, template=template)
def __init__(self, name: str, *, spec: Union[MeasurementSpec, LinkByUID] = None, material: Union[MaterialRun, LinkByUID] = None, properties: Iterable[Property] = None, conditions: Iterable[Condition] = None, parameters: Iterable[Parameter] = None, uids: Mapping[str, str] = None, tags: Iterable[str] = None, notes: str = None, file_links: Optional[Union[Iterable[FileLink], FileLink]] = None, source: PerformedSource = None): BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasSpec.__init__(self, spec=spec) HasProperties.__init__(self, properties) HasConditions.__init__(self, conditions) HasParameters.__init__(self, parameters) HasSource.__init__(self, source) self._material = None self.material = material
def __init__(self, name: str, *, template: Optional[Union[MeasurementTemplate, LinkByUID]] = None, conditions: Iterable[Condition] = None, parameters: Iterable[Parameter] = None, uids: Mapping[str, str] = None, tags: Iterable[str] = None, notes: str = None, file_links: Optional[Union[Iterable[FileLink], FileLink]] = None): BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasTemplate.__init__(self, template=template) HasParameters.__init__(self, parameters=parameters) HasConditions.__init__(self, conditions=conditions)
def __init__(self, name=None, template=None, parameters=None, conditions=None, uids=None, tags=None, notes=None, file_links=None): BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasParameters.__init__(self, parameters=parameters) HasConditions.__init__(self, conditions=conditions) HasTemplate.__init__(self, template=template)
def __init__(self, name: str, *, spec: Union[ProcessSpec, LinkByUID] = None, conditions: Iterable[Condition] = None, parameters: Iterable[Parameter] = None, uids: Mapping[str, str] = None, tags: Iterable[str] = None, notes: str = None, file_links: Optional[Union[Iterable[FileLink], FileLink]] = None, source: PerformedSource = None): from gemd.entity.object.ingredient_run import IngredientRun BaseObject.__init__(self, name=name, uids=uids, tags=tags, notes=notes, file_links=file_links) HasSpec.__init__(self, spec=spec) HasConditions.__init__(self, conditions) HasParameters.__init__(self, parameters) HasSource.__init__(self, source) self._ingredients = validate_list(None, [IngredientRun, LinkByUID]) self._output_material = None