You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Update system test PubSub calls or change PubSub deps #64
The primary reason that the PubSub version update is breaking tests is that in google-cloud-pubsub<2.0.0, parameters required by the API were positional parameters (like topic_pathhere) and optional parameters were keyword parameters. Now, following the 2.0.0 release, almost all methods that interact with the backend have a single positional parameter request.
Activity
sli2126 commentedon Sep 16, 2020
Looks like it will be fixed in #62
sli2126 commentedon Oct 1, 2020
Looks like tests are still broken, re-opening.
AlexanderFengFeng commentedon Oct 1, 2020
The primary reason that the PubSub version update is breaking tests is that in google-cloud-pubsub<2.0.0, parameters required by the API were positional parameters (like
topic_pathhere) and optional parameters were keyword parameters. Now, following the 2.0.0 release, almost all methods that interact with the backend have a single positional parameterrequest.The change is best exemplified like so:
Before:
After:
There are two ways to resolve this:
"google-cloud-pubsub < 2.0.0"like @sli2126 mentioned by referencing storage's PROR
topic_path->request={"name"=topic_path"}topic_path->request={"resource": topic_path}topic_path, policy->request={"resource": topic_path, "policy": policy}self.topic_path->request={"topic"=self.topic_path}daniel-sanche commentedon Dec 2, 2020
This was fixed in #70