Skip to content

Commit 601af0b

Browse files
committed
add back globus arg to appease tests
1 parent 85e74c7 commit 601af0b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

foundry/foundry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,14 @@ def get_keys(self, type=None, as_object=False):
665665
key_list = key_list + k
666666
return key_list
667667

668-
def _load_data(self, file=None, source_id=None, as_hdf5=False):
668+
def _load_data(self, file=None, source_id=None, globus=True, as_hdf5=False):
669669
"""Handle the bulk of loading a dataset logic
670670
671671
Args:
672672
file (str): Relative path to the data file (specified via splits). Supported file types include tabular
673673
(eg JSON, JSON lines, csv) and HDF5
674674
source_id (str): Name of the dataset in MDF/Foundry index (``source_name`` + version information)
675+
globus (bool): If True, download using Globus, otherwise, HTTPS. Necessary for test functionality
675676
as_hdf5 (bool): If True and dataset is in hdf5 format, keep data in hdf5 format
676677
677678
Returns:

0 commit comments

Comments
 (0)