deeporiginbio / deeporigin-client

Deep Origin CLI and Python client
https://client-docs.deeporigin.io/
MIT License
9 stars 0 forks source link

api.list_files(is_unassigned=True) #80

Closed bsiranosian closed 1 month ago

bsiranosian commented 1 month ago

From the tutorial: https://deeporiginbio.github.io/deeporigin-client/how-to/data-hub/list-data.html#list-files

TypeError: DeeporiginData.list_files() got an unexpected keyword argument 'is_unassigned'

version 2.1.4.

bsiranosian commented 1 month ago

Same thing with the example

api.list_files(assigned_row_ids=["row-1"])

In fact list_files function doesn't even appear in api.py ?

sg-s commented 1 month ago

hi ben, thanks for spotting that! yes, we overhauled our low-level API and the function signature changed. please use

api.list_files(filters=[dict(is_unassigned=True)])

i'll update the docs

sg-s commented 1 month ago

@bsiranosian the old behavior will come back in

https://github.com/deeporiginbio/deeporigin-client/pull/81