Add get_regular_container func

This commit is contained in:
Xuwznln
2025-11-27 13:46:40 +08:00
parent ffc583e9d5
commit ed8ee29732
2 changed files with 6 additions and 1 deletions

View File

@@ -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:

View File

@@ -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传入