-
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
Make Bucket/Blob/_PropertyMixin have "future" functionality #775
Comments
Note that if we find a fix, it should address #736 too. |
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Apr 9, 2015
Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready. Towards googleapis#775
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Apr 9, 2015
Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready. Towards googleapis#775
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Apr 9, 2015
Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready. Towards googleapis#775
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Apr 10, 2015
Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready. Towards googleapis#775
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Apr 10, 2015
Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready. Towards googleapis#775
@tseaver Do you think we are safe to close this out? |
atulep
pushed a commit
that referenced
this issue
Apr 6, 2023
atulep
pushed a commit
that referenced
this issue
Apr 6, 2023
atulep
pushed a commit
that referenced
this issue
Apr 18, 2023
parthea
pushed a commit
that referenced
this issue
Oct 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is relating to a discussion @tseaver and I just had about enabling
GET
in batches.Something like
is not possible because the actual
GET
which retrieves thebucket
happens on the__exit__
of the batch.We could allow
_PropertyMixin
objects to act as a future by setting a property (e.g.bucket._is_future = True
) and then making getters and setters fail when_is_future == True
.The text was updated successfully, but these errors were encountered: