mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-14 13:14:39 +00:00
Add get_regular_container func
This commit is contained in:
@@ -2,7 +2,7 @@ container:
|
||||
category:
|
||||
- container
|
||||
class:
|
||||
module: unilabos.resources.container:RegularContainer
|
||||
module: unilabos.resources.container:get_regular_container
|
||||
type: pylabrobot
|
||||
description: regular organic container
|
||||
handles:
|
||||
|
||||
@@ -22,6 +22,11 @@ class RegularContainer(Container):
|
||||
|
||||
def load_state(self, state: Dict[str, Any]):
|
||||
self.state = state
|
||||
|
||||
|
||||
def get_regular_container(name="container"):
|
||||
return RegularContainer(name=name)
|
||||
|
||||
#
|
||||
# class RegularContainer(object):
|
||||
# # 第一个参数必须是id传入
|
||||
|
||||
Reference in New Issue
Block a user