caterva2.get_list#
- caterva2.get_list(path, urlbase=None, auth_cookie=None)#
List the datasets in a path.
- Parameters:
- Returns:
The list of datasets, as name strings relative to it.
- Return type:
list
Examples
>>> import caterva2 as cat2 >>> urlbase = 'https://demo.caterva2.net' >>> cat2.subscribe('example', urlbase) 'Ok' >>> cat2.get_list('example', urlbase)[:3] ['ds-2d-fields.b2nd', 'lung-jpeg2000_10x.b2nd', 'ds-1d-fields.b2nd']