We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tag names should be coerced on search
In [2]: list(api.search('SON')) Out[2]: [] In [3]: list(api.search('son')) Out[3]: [u'GCP/climate/SMME/tasmin/grid025/daily/rcp85/pattern4/2034/SON.nc', u'GCP/climate/SMME/tasmin/grid025/daily/rcp85/pattern4/2021/SON.nc', ... u'GCP/climate/SMME/tasmin/grid025/daily/rcp85/pattern4/2038/SON.nc']
Instead we should be applying the same coersion methods on tag searches as we do on tag registration. That way, you get the expected behavior:
In [4]: arch = api.create('my/archive', tags=(2)) In [5]: list(api.search(2)) Out[5]: ['my/archive']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
tag names should be coerced on search
What I did
What I want
Instead we should be applying the same coersion methods on tag searches as we do on tag registration. That way, you get the expected behavior:
The text was updated successfully, but these errors were encountered: