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 — Add GAE/GCE support for datastore.set_default_dataset and add exception on failure · Issue #475 · googleapis/google-cloud-python

Add GAE/GCE support for datastore.set_default_dataset and add exception on failure #475

New issue
Copy link
New issue
Copy link
Closed
#610
#572
Closed
Add GAE/GCE support for datastore.set_default_dataset and add exception on failure#475
#610
#572
Copy link
Assignees
dhermes
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.
Milestone
Datastore Future

Description

@dhermes
dhermes
opened on Dec 30, 2014
Issue body actions

See discussion in #444 for comments on exception.

Something like oauth2client.client._get_environment could be good to detect GAE/GCE dataset ID's but _detect_gce_environment should be better as discussed in googleapis/oauth2client#93

Not blocking for M1.

Activity

Next
  1. dhermes
    added
    api: datastoreIssues related to the Datastore API.
    on Dec 30, 2014
  2. dhermes commented on Jan 9, 2015

    @dhermes
    dhermes
    on Jan 9, 2015
    ContributorAuthor
    More actions

    Relevant to GAE:

    >>> import os
    >>> from google.appengine.api import app_identity
    >>>
    >>> print repr(os.getenv('APPLICATION_ID'))
    's~foo'
    >>> print repr(app_identity.get_application_id())
    'foo'
  3. dhermes commented on Jan 11, 2015

    @dhermes
    dhermes
    on Jan 11, 2015
    ContributorAuthor
    More actions

    Relevant to GCE:

    >>> import urllib2
    >>> BASE = 'http://metadata.google.internal/'
    >>> PROJECT_PATH = 'computeMetadata/v1/project/project-id'
    >>> URI = BASE + PROJECT_PATH
    >>> request = urllib2.Request(URI, headers={'Metadata-Flavor': 'Google'})
    >>> response = urllib2.urlopen(request)
    >>> contents = response.read()
    >>> response.close()
    >>> contents
    'foo'

    No prefix there.

  4. dhermes
    added a commit that references this issue on Jan 27, 2015

    Adding implicit dataset ID support for Compute Engine.

    This issue will close once commit 6267857 is merged into the 'master' branch.
    6267857
  5. dhermes
    assigned
    a-robinson
    and
    dhermes
    and unassigned
    a-robinson
    on Jan 27, 2015
  6. dhermes
    added a commit that references this issue on Jan 27, 2015

    Adding implicit dataset ID support for Compute Engine.

    This issue will close once commit c3286a2 is merged into the 'master' branch.
    c3286a2
  7. dhermes commented on Jan 27, 2015

    @dhermes
    dhermes
    on Jan 27, 2015
    ContributorAuthor
    More actions

    @tseaver I just realized that #572 does not raise when setting fails.

    We can add this in a sweeping way for both packages after #572 goes through? We'll have to determine the difference between "required" defaults (always raise) and "optional" defaults (sometimes raise) for the set_defaults functions.

  8. dhermes
    closed this as completedin #572on Jan 27, 2015
  9. dhermes commented on Jan 27, 2015

    @dhermes
    dhermes
    on Jan 27, 2015
    ContributorAuthor
    More actions

    Re-opening until exception questions resolved.

  10. dhermes
    reopened this on Jan 27, 2015
  11. jgeewax
    modified the milestones: This milestone has been deleted, Datastore Future on Jan 30, 2015
  12. 24 remaining items

  13. parthea
    added a commit that references this issue on Oct 22, 2023

    chore(python): add support for python 3.11 (#475)

    25a6399
  14. parthea
    added 2 commits that reference this issue on Aug 21, 2025

    Add BigQuery Storage API client (currently alpha) (#6696)

    d7f512f

    chore(main): release 2.14.2 (#475)

    0eaa318
  15. parthea
    added 2 commits that reference this issue on Sep 16, 2025

    Add BigQuery Storage API client (currently alpha) (#6696)

    4e91e7d

    chore(main): release 2.14.2 (#475)

    2d65a7e
  16. parthea
    added 6 commits that reference this issue on Nov 22, 2025

    feat: add Autoscaling API (#475)

    6226fa0

    fix: only require dataclases if python<3.7 (#475)

    e95f44a

    fix: fix conda compatibility issue (#475)

    ed51572

    chore(deps): update all dependencies (#475)

    c48782b

    feat: Allow users to explicitly configure universe domain (#475)

    26ab401

    chore: add comment to py.typed to more closely match owlbot/GAPIC (#475)

    9aa49e2
  17. parthea
    added a commit that references this issue on Mar 2, 2026

    chore(deps): update dependency google-cloud-pubsub to v2.7.1 (#475)

    2c352b0
  18. parthea
    added 3 commits that reference this issue on Mar 9, 2026

    chore(deps): update dependency readme-renderer to v44 (#475)

    9709422

    tests: refactor systests using pytest (#476)

    6a0fabd

    feat(db_api): add an ability to set ReadOnly/ReadWrite connection mode (

    89c3133
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    • Datastore Future

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.