Source code for pythonlab.resources.services.hello_world

from pythonlab.resource import ServiceResource, LabwareResource


[docs] class GreeterServiceResource(ServiceResource): """ """ def __init__(self, proc, name: str): super().__init__(proc=proc, name=name)
[docs] def wave(self, labware: LabwareResource, **kwargs): kwargs.update(dict(fct="say_hello", duration=2)) self.proc.add_process_step(self, [labware], **kwargs)