浏览代码

fix: linter error on incompatible super type

trgiangdo 1 年之前
父节点
当前提交
e428d3b0a1
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      taipy/core/data/_data_manager.py

+ 1 - 6
taipy/core/data/_data_manager.py

@@ -166,12 +166,7 @@ class _DataManager(_Manager[DataNode], _VersionMixin):
         return cls._repository._load_all(filters)
 
     @classmethod
-    def _export(
-        cls,
-        id: DataNodeId,
-        folder_path: Union[str, pathlib.Path],
-        **kwargs,
-    ):
+    def _export(cls, id: str, folder_path: Union[str, pathlib.Path], **kwargs):
         cls._repository._export(id, folder_path)
 
         if not kwargs.get("include_data"):