File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ def import_directory(directory: str,
5656_DatasetT = TypeVar ('_DatasetT' , bound = Dataset )
5757
5858
59+ @mypy_fix_task_template
5960@TaskTemplate
6061def convert_dataset (dataset : Dataset , dataset_cls : type [_DatasetT ]) -> _DatasetT :
6162 return dataset_cls (dataset )
Original file line number Diff line number Diff line change 11from omnipy .compute .flow import LinearFlowTemplate
2+ from omnipy .compute .typing import mypy_fix_linear_flow_template
23
34from ..general .tasks import convert_dataset
45from ..json .datasets import JsonDictOfDictsDataset
56from ..json .flows import flatten_nested_json , transpose_dict_of_dicts_2_list_of_dicts
67from .datasets import FlattenedIsaJsonDataset , IsaJsonDataset
78
89
10+ @mypy_fix_linear_flow_template
911@LinearFlowTemplate (
1012 convert_dataset .refine (fixed_params = dict (dataset_cls = JsonDictOfDictsDataset )),
1113 transpose_dict_of_dicts_2_list_of_dicts ,
You can’t perform that action at this time.
0 commit comments