diff --git a/bamboo_engine/eri/interfaces.py b/bamboo_engine/eri/interfaces.py index 50f4845f..800bb756 100644 --- a/bamboo_engine/eri/interfaces.py +++ b/bamboo_engine/eri/interfaces.py @@ -38,7 +38,7 @@ # plugin interface -__version__ = "7.0.0" +__version__ = "7.1.0" def version(): @@ -1204,6 +1204,17 @@ def get_data(self, node_id: str) -> Data: :rtype: Data """ + @abstractmethod + def get_batch_data(self, node_ids: List[str]) -> Dict[str, Data]: + """ + 批量获取节点数据对象 + + :param node_ids: 节点 ID 列表 + :type node_ids: List[str] + :return: 节点数据对象字典 node_id: Data + :rtype: dict + """ + @abstractmethod def get_data_inputs(self, node_id: str) -> Dict[str, DataInput]: """ diff --git a/pyproject.toml b/pyproject.toml index d45d601b..9a2c02cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bamboo-engine" -version = "2.5.3" +version = "2.6.0" description = "Bamboo-engine is a general-purpose workflow engine" authors = ["homholueng "] license = "MIT"