Skip to content
New issue

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

api.files.query(project, name=[]) returns all files, not none as expected #81

Closed
ghost opened this issue May 29, 2017 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented May 29, 2017

I expect the call

api.files.query(project, names=[])

To return no files because the file name list can be generated programmatically, and an empty list would mean no files need be fetched.

I would expect

api.files.query(project, names=None)

to return all files as that is equivalent to an omitted parameter, which asks the API to fetch all files

However, both queries return all files in project. Thanks! -Kaushik

@SenadI
Copy link
Contributor

SenadI commented Jul 7, 2017

Fixed in 0.8.0

@SenadI SenadI closed this as completed Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant