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
Yeah. After #861 it's very possible that _implicit_environ will all be removed and you'll need to create an explicit client. However, the constructors will have nice defaults just like set_default_* do.
When running locally with
gcloud auth
providing application default credentials, pubsub is unable to infer a connection, so this will fail:with
EnvironmentError: Connection could not be inferred.
The fix is to set an explicit connection using adc:
However, storage and datastore do not have this issue. It seems unnecessarily to do this just for pubsub.
The text was updated successfully, but these errors were encountered: