Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinugu committed Dec 3, 2024
1 parent abff8ad commit c9ce59e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/omnipy/compute/mixins/iterate.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def _check_job_func_parameters(job_func: Callable) -> None:

def _create_dataset_cls(data_file_type: InputTypeT) -> type[IsDataset]:
if is_model_subclass(data_file_type):
return Dataset[data_file_type] # type: ignore[return-value, valid-type]
return Dataset[data_file_type] # type: ignore[valid-type]
else:
return Dataset[Model[data_file_type]] # type: ignore[return-value, valid-type]
return Dataset[Model[data_file_type]] # type: ignore[valid-type]


# Classes
Expand Down

0 comments on commit c9ce59e

Please sign in to comment.