| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Also replacing _subscription_pb_to_mapping with MessageToDict.
Making it more specific to the methods that use it (topic_list_subscriptions) since list_subscriptions will also need to convert an item to a subscription.
Also remove GAX confusion in Pub/Sub between max_results and page_size.
These changes are needed to cover the change to iterators.
There was a problem hiding this comment.
This LGTM. @tseaver?
Sorry, something went wrong.
| raise Conflict(topic_path) | ||
| raise | ||
| return _subscription_pb_to_mapping(sub_pb) | ||
| return MessageToDict(sub_pb) |
Converting Pub/Sub client->list_subscriptions to iterator.
| Back | FazBrowse Home | New Git URL |
There is surprisingly no system test for Client.list_subscriptions(). After seeing how different the implementations of Client.list_subscriptions() and Topic.list_subscriptions() are, I am strongly for adding such a system test.
Sending this out without fixing unit tests to get it in the hands of reviewers. The unit tests may take me a non-trivial time, but I am working on them.