-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Replace optional connection with client in storage methods and functions. #984
Replace optional connection with client in storage methods and functions. #984
Conversation
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors. Also adding a temporary Blob._client_or_connection method to allow switching from an explicit client to an implicit connection.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors. Also adding a temporary Bucket._client_or_connection method to allow switching from an explicit client to an implicit connection.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Also updating all code which calls those methods. Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Hmm, before finishing review here, it feels to me like swapping out the |
I just wanted to make a bunch of small commits so review was easier for you. I have the client attribute at the ready, it just takes a bit more effort to review (it reaches deep into many parts of the code). |
@tseaver Can we push forward on this? I want to wrap up the client stuff and cut a release ASAP. |
LGTM |
@tseaver We've got an LGTM here but a few pending commets. Good to merge? |
Replace optional connection with client in storage methods and functions.
Towards #952.
Did this for all but
Bucket.create
(since it also requires a project, built for just aclient
)Will continue to remove
connection
from theBucket
andBatch
constructors in forthcoming PR.