GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Cherry pick cleanups from #499. by tseaver · Pull Request #501 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Jan 7, 2015

Copy link
Copy Markdown
Contributor
  • Make require_dataset_id and '_require_connection' take the passed object, and test explicitly against None.
  • Tweak docstrings to reflect API changes.
  • Clarify implicit environ tests.
  • Clarify dependency on implicit environ in key tests.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tseaver
Cherry pick cleanups from #499.
690b5d9
- Rework '_require_dataset' -> '_require_dataset_id'.

  Also, make both it and '_require_connection' take the passed object,
  and test explicitly against None.

- Docstring tweaks to reflect API reshapings.

- Clarify implicit environ tests.

- Clarify dependency on implicit environ in key tests.
dhermes
dhermes reviewed Jan 7, 2015
View reviewed changes
Comment thread gcloud/datastore/connection.py Outdated

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Jan 7, 2015

Copy link
Copy Markdown
Contributor

./gcloud/datastore/key.py:78:5: E303 too many blank lines (2)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes dhermes mentioned this pull request Jan 7, 2015
Removing datastore.Dataset class and its uses. #500
Merged
tseaver added 4 commits January 7, 2015 15:42
@tseaver
Valet service.
f299d31
@tseaver
Replace most monkeys of implicit environ w/ explicit dataset IDs.
e117ca0
Addresses:
#501 (comment)
@tseaver
Use correct Sphinx role.
eead3e1
Addresses:
#501 (comment)
@tseaver
Use 'ID' instead of 'id' consistently in docstrings.
6a87fba
When used as an abbreviation for 'identifier', rather than to refer to
methods named 'id'.
dhermes
dhermes reviewed Jan 7, 2015
View reviewed changes
Comment thread gcloud/datastore/test_key.py Outdated

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Jan 7, 2015

Copy link
Copy Markdown
Contributor

Your favorite:

./gcloud/datastore/test_key.py:100:25: E128 continuation line under-indented for visual indent
./gcloud/datastore/test_key.py:132:13: E128 continuation line under-indented for visual indent
./gcloud/datastore/test_key.py:136:29: E127 continuation line over-indented for visual indent
./gcloud/datastore/test_key.py:138:29: E127 continuation line over-indented for visual indent
./gcloud/datastore/test_key.py:140:29: E127 continuation line over-indented for visual indent
./gcloud/datastore/test_key.py:141:29: E127 continuation line over-indented for visual indent

Suggest just lining up with word / line beginning.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Jan 7, 2015

Copy link
Copy Markdown
Contributor

LGTM pending lint issues.

Also probably worth fixing the kw dataset= in test_ctor_w_implicit_dataset_id_empty_path,

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes dhermes mentioned this pull request Jan 7, 2015
Update regression scripts to work with new API. #502
Merged
tseaver added 2 commits January 7, 2015 17:09
@tseaver
Typo.
a87a143
Addresses:

#501 (diff)
@tseaver
Chixen bonez.
90829f5
tseaver added a commit that referenced this pull request Jan 7, 2015
@tseaver
Merge pull request #501 from tseaver/cherrypick-499
0eca209
Cherry pick cleanups from #499.
@tseaver
tseaver merged commit 0eca209 into googleapis:master Jan 7, 2015
@coveralls

coveralls commented Jan 7, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 90829f5 on tseaver:cherrypick-499 into 7019708 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
tseaver deleted the cherrypick-499 branch January 7, 2015 22:18
@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Dec 31, 2015
atulep pushed a commit that referenced this pull request Apr 6, 2023
@renovate-bot
chore(deps): update dependency google-cloud-speech to v2.18.0 (#501)
92cd0d3
atulep pushed a commit that referenced this pull request Apr 6, 2023
@renovate-bot
chore(deps): update dependency google-cloud-speech to v2.18.0 (#501)
5ccd9a7
atulep pushed a commit that referenced this pull request Apr 18, 2023
@renovate-bot
chore(deps): update dependency google-cloud-speech to v2.18.0 (#501)
b98b15e
parthea pushed a commit that referenced this pull request Aug 15, 2023
@gcf-owl-bot
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
471d7ba
…p/templates/python_library/.kokoro (#501)

Source-Link: https://togithub.com/googleapis/synthtool/commit/bb171351c3946d3c3c32e60f5f18cee8c464ec51
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f62c53736eccb0c4934a3ea9316e0d57696bb49c1a7c86c726e9bb8a2f87dadf
vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
@gcf-owl-bot
chore(python): add license header to auto-label.yaml (#501)
7aa15cc
Source-Link: googleapis/synthtool@eb78c98
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8a5d3f6a2e43ed8293f34e06a2f56931d1e88a2694c3bb11b15df4eb256ad163
parthea added a commit that referenced this pull request Sep 22, 2023
@msampathkumar @gcf-owl-bot @parthea
chore: code clean up for samples are migrated to python-docs-samples (#…
ae22367
…501)

* Repo clean-up

* 🦉 Updates from OwlBot post-processor

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

* Add README.md

* 🦉 Updates from OwlBot post-processor

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

* Rename samples/README.md to samples/snippets/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit that referenced this pull request Oct 21, 2023
@renovate-bot @parthea
chore(deps): update dependency tabulate to v0.9.0 (#501)
3193013
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Oct 22, 2023
@renovate-bot
chore(deps): update dependency google-cloud-speech to v2.18.0 (#501)
0150336
parthea pushed a commit that referenced this pull request Nov 22, 2025
@Mariatta
doc: Fix broken links in data-api documentation (#501)
c0029b6
There was some refactoring, and the bigtable_v2/proto directory no longer exists.
Updated the links to the correct ones, and used permalink.
parthea pushed a commit that referenced this pull request Nov 24, 2025
@release-please
chore: release 0.26.2 (#501)
de80ebf
* updated CHANGELOG.md [ci skip]

* updated setup.py

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@chalmerlowe
fix: updates test to account for UTC in failing test (#501)
09d8fcb
* Sets cache support to false, removes upper req limit

* fix: adds timestamp to ensure tests pass successfully

* fix: updates tests to account for UTC

* restores path in nox session
parthea added a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot @daniel-sanche @parthea
chore: bump cryptography from 41.0.5 to 41.0.6 in /synthtool/gcp/temp…
47c718b
…lates/python_library/.kokoro (#501)

Source-Link: googleapis/synthtool@9367caa
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2f155882785883336b4468d5218db737bb1d10c9cea7cb62219ad16fe248c03c

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Sanche <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@tseaver
feat: allow 'Collection.where(__name__, in, [hello, world])' (#501)
b95ed9a
Closes #421.

Supersedes #496.
parthea pushed a commit that referenced this pull request Nov 26, 2025
@wescpy
fix: fix expiry for to_json() (#589)
5210996
* This patch for </issues/501> includes the following fixes:

- The access token is always set to `None`, so the fix involves using (the access) `token` from the saved JSON credentials file.
- For refresh needs, `expiry` also needs to be saved via `to_json()`.
    - DUMP: As `expiry` is a `datetime.datetime` object, serialize to `datetime.isoformat()` in the same [`oauth2client` format](https://github.com/googleapis/oauth2client/blob/master/oauth2client/client.py#L55) for consistency.
    - LOAD: Add code to restore `expiry` back to `datetime.datetime` object when imported.
    - LOAD: If `expiry` was unsaved, automatically set it as expired so refresh takes place.
- Minor `scopes` updates
    - DUMP: Add property for `scopes` so `to_json()` can grab it
    - LOAD: `scopes` may be saved as a string instead of a JSON array (Python list), so ensure it is Sequence[str] when imported.
parthea pushed a commit that referenced this pull request Mar 2, 2026
@tseaver
ci: harden subscriber samples against EC (#520)
5209171
Closes #461.
Closes #462.
Closes #501.
parthea pushed a commit that referenced this pull request Mar 9, 2026
@renovate-bot
chore(deps): update actions/setup-python action to v5 (#501)
3668a16
parthea pushed a commit that referenced this pull request Mar 9, 2026
@rjw57
fix: remove trailing commas from error message constants (#505)
6603237
The _DOWNLOAD_AS_STRING_DEPRECATED constant includes a dangling comma
which makes it a tuple and not a string. This causes a TypeError as reported in #501.

Fixes #501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: datastore Issues related to the Datastore API.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@tseaver @dhermes @coveralls
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.