Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Apr 14, 2015

Fixes #778.

@dhermes dhermes added the api: storage Issues related to the Cloud Storage API. label Apr 14, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 14, 2015
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 0d43bf3 on dhermes:fix-778 into 6283ab9 on GoogleCloudPlatform:master.

@tseaver
Copy link
Contributor

tseaver commented Apr 15, 2015

LGTM

dhermes added a commit that referenced this pull request Apr 15, 2015
Removing superfluous HTTP requests in tests of local setters/getters.
@dhermes dhermes merged commit f6cb792 into googleapis:master Apr 15, 2015
@dhermes dhermes deleted the fix-778 branch April 15, 2015 21:34
parthea pushed a commit that referenced this pull request Nov 24, 2025
The current example is 'auth', which is imported directly by both
transports and unit tests. This name conflicts with any calculated
dependency import whose name happens to be 'auth'.
Fix involves adding 'auth' and other direct, raw imports in templates
to RESERVED_NAMES.
parthea pushed a commit that referenced this pull request Nov 24, 2025
)

Fixes #835.

Breakdown by name that was originally added in #824
- `auth`: `from google import auth` -> `import google.auth`
- `credentials`: `from google.auth import credentials` -> `from google.auth import credentials as ga_credentials`
- `exceptions`: `from google.api_core import exceptions` -> `from google.api_core import exceptions as core_exceptions`
- `future`: skipped, as it is only used in the [generated tests](https://github.com/googleapis/gapic-generator-python/search?q=%22import+future%22) and has a low chance of colliding
- `options` `from google.iam.v1 import options_pb2 as options` -> `from google.iam.v1 import options_pb2`
- `policy` `from google.iam.v1 import policy_pb2 as policy` -> `from google.iam.v1 import policy_pb2`
- `math` skipped as it is only used in [generated tests](https://github.com/googleapis/gapic-generator-python/search?q=%22import+math%22)

For `options` and `policy` there is a small change to `gapic/schema/metadata.py` to not alias `_pb2` types
parthea pushed a commit that referenced this pull request Nov 24, 2025
)

* fix: Fixed DeprecationWarning for datetime objects for Python 3.12

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
… ds (#824)

Legacy NDB had a bug where, with repeated Expando properties, it could
end up writing arrays of different length if some entities had missing
values for certain subproperties. When Cloud NDB read this out, it might
have only loaded entities corresponding to the shorter array length.
See issue #129 .

To fix this, with PR #176 , we made Cloud NDB check if there are length
differences and pad out the array as necessary.

However, depending on the order properties are returned from Datastore in,
we may have accidentally padded with subentities of the wrong kind,
because it was possible to skip over updating the kind if we alternated
between updating repeated properties.

(Eg: A.a with 2 elements, B.b with 3 elements, A.c with 3 elements ->
A would end up with an element of B's kind)
parthea pushed a commit that referenced this pull request Nov 25, 2025
)

* fix: Fixed DeprecationWarning for datetime objects for Python 3.12

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop reload() / patch() in testcases for no-longer-remote Bucket/Blob properties

4 participants