Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix filter_params argument in list_projects (#5383)
The filter_params parameter of resource_manager.Client.list_projects is a dict (of properties to filter on and the desired value for each property). Prior to this commit, this dict was passed into the HTTPIterator constructor in extra_params['filter']. This didn't work, because extra_params values can't be dicts. They *can* be iterables, but since the iterable of a dict is its keys, this resulted in only the properties being sent along in the 'filter' query param, while the desired values for those properties were discarded. This commit transforms the filter_params dict into a simple list prior to shoving it in extra_params, which fixes the bug.
- Loading branch information