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 }}
Repository navigation
Update Key API to be more user-friendly per design doc discussion #451
Update docstrings and other docs to reflect changes (including __repr__, probably shouldn't have path) (Putting off bulk doc fixes until API is stable again)
changed the title [-]Change Key constructor to accept paths as args[/-][+]Update Key API to be more user-friendly per design doc discussion[/+]on Dec 23, 2014
UPDATE: Not necessary since Key.compare_to_proto was removed.
We should probably also move
for element in protobuf.path_element:
key_part = {}
for descriptor, value in element._fields.items():
key_part[descriptor.name] = value
path.append(key_part)
(repeated in Key.compare_to_proto, helpers.key_from_protobuf and test_entity._Key.compare_to_proto) into it's own method.
Activity
Remove Key.from_path and derivative uses.
[-]Change Key constructor to accept paths as args[/-][+]Update Key API to be more user-friendly per design doc discussion[/+]Making all attributes on Key read-only and sorts out use of setters.
Making Key.parent return the same instance on return calls.
Make Key constructor easier to use by taking positional args.
Implement Key.complete_key for auto_id on partial keys.
dhermes commentedon Dec 23, 2014
UPDATE: Not necessary since
Key.compare_to_protowas removed.We should probably also move
(repeated in
Key.compare_to_proto,helpers.key_from_protobufandtest_entity._Key.compare_to_proto) into it's own method.Implement Key.compare_to_proto to check pb keys against existing.
Make dataset_id required on Key.
Remove Key.from_path and derivative uses.
Remove Key.from_path and derivative uses.
Making all attributes on Key read-only and sorts out use of setters.
Making Key.parent return the same instance on return calls.
33 remaining items
chore: update release_level in repo-metadata.json (#451)
tests: harden instance admin systests vs timeout / 503 (#453)
Release version bump (#451)
feat: Add grpc Compression argument to channels and methods (#451)
chore: store artifacts in placer (#451)
chore: [autoapprove] bump cryptography from 41.0.3 to 41.0.4 (#451)
tests: fix tests on main (#452)
chore(deps): update dependency google-cloud-bigquery to v2.31.0 (#451)
fix: fix `NotImplementedError` for `get_or_insert` inside a transacti…
chore(deps): update dependency google-cloud-bigquery to v2.31.0 (#451)
fix: only add IAM scope to credentials that can change scopes (#451)
chore(deps): update dependency backoff to v1.11.1 (#451)
chore(main): release 2.7.2 (#451)
chore(deps): update dependency pygments to v2.18.0 (#451)
feat: add support for Etag headers on reads (#489)