renamed module

This commit is contained in:
brian
2025-01-06 17:15:48 +00:00
parent 8214bd2669
commit 99b5820ae6
44 changed files with 30 additions and 30 deletions
+16
View File
@@ -0,0 +1,16 @@
"""Definition of get_dataset function."""
from typing import Literal
from pymongo.collection import Collection
def get_dataset(
collection: Collection,
type: Literal['train', 'test', 'validation'],
) -> list[str]:
"""Get list of data names for the corresponding type."""
assert isinstance(collection, Collection)
assert isinstance(type, str)
assert type in ['train', 'test', 'validation']
return []