From 57d00a70f4fadaf674380cbb0bdd0c625a9f7b0d Mon Sep 17 00:00:00 2001 From: Patrick Smyth Date: Sun, 13 Oct 2024 07:32:03 -0500 Subject: [PATCH] make typing compatible with older python versions --- src/biosets/load.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/biosets/load.py b/src/biosets/load.py index 1d524e3..3e02b96 100644 --- a/src/biosets/load.py +++ b/src/biosets/load.py @@ -93,8 +93,8 @@ def concatenate_datasets(dsets, info=None, split=None, axis=0): def load_from_disk( file_path, fs="deprecated", - keep_in_memory: Optional[dict | None] = None, - storage_options: Optional[dict | None] = None, + keep_in_memory: Optional[dict] = None, + storage_options: Optional[dict] = None, ): from biosets.integration import DatasetsPatcher