solvebio-python icon indicating copy to clipboard operation
solvebio-python copied to clipboard

Scoped object search

Open jsh2134 opened this issue 5 years ago • 0 comments

Search from within the folders/files/dataset shortcuts in the same way as Object.search, but scope it to the shortcut in both location and object type

The following searches can be replaced with one nice command

folder.search("foobar AND type:file", parent_object_id=folder.id)
folder.search("foobar", object_type="file", parent_object_id=folder.id)
folder.files(query="foobar")

become

folder.files("foobar")

jsh2134 avatar Oct 20 '20 16:10 jsh2134