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 support for gcd local development server · Issue #650 · googleapis/google-cloud-python

Add support for gcd local development server #650

New issue
Copy link
New issue
Copy link
Closed
#656
Closed
Add support for gcd local development server#650
#656
Copy link
Assignees
dhermes
Labels
api: datastoreIssues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@rstuart85
rstuart85
opened on Feb 16, 2015
Issue body actions

Right now, there doesn't appear to be any support for the datastore local development server gcd. For instance, the usage instructions tell you to set the dataset id in the environment variable DATASTORE_DATASET but gcloud-python doesn't appear to look for that in the set_default_dataset_id() function.

Activity

  1. rstuart85 commented on Feb 16, 2015

    @rstuart85
    rstuart85
    on Feb 16, 2015
    Author
    More actions

    It's not clear to me how exactly this is meant to work. I have set the environment variable DATASTORE_HOST to be the local development server as per the gcd instructions but it seems to be completely ignored by gcloud-python. It works with the googledatastore library so it would be nice if it worked here too.

  2. dhermes commented on Feb 17, 2015

    @dhermes
    dhermes
    on Feb 17, 2015
    Contributor
    More actions

    @rstuart85 Thanks for the request. I have not used gcd and will look into this. It should be easy enough to support in gcloud/datastore/connection.py (at 61c6814)

    class Connection(connection.Connection):
        ...
        API_BASE_URL = os.getenv('DATASTORE_HOST', connection.Connection.API_BASE_URL)
        ...

    and in gcloud/datastore/__init__.py

    def set_default_dataset_id(dataset_id=None):
        if dataset_id is None:
            dataset_id = os.getenv(_DATASET_ENV_VAR_NAME)
    
        if dataset_id is None:
            dataset_id = os.getenv('DATASTORE_DATASET')
    
        if dataset_id is None:
            dataset_id = _implicit_environ.app_engine_id()
    
       ...

    (check comes before App Engine but after the production environment variable)

  3. rstuart85 commented on Feb 17, 2015

    @rstuart85
    rstuart85
    on Feb 17, 2015
    Author
    More actions

    Certainly seems straightforward and would really simplify local development of products that use Datastore. Hopefully it will also reduce latency when developing!

  4. dhermes
    added a commit that references this issue on Feb 17, 2015

    Adding support for GCD dev server in datastore package.

    This issue will close once commit d2aaab8 is merged into the 'master' branch.
    d2aaab8
  5. jgeewax
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: datastoreIssues related to the Datastore API.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Feb 17, 2015
  6. jgeewax
    added this to the This milestone has been deleted milestone on Feb 17, 2015
  7. jgeewax
    changed the title [-]Add support for gcd[/-] [+]Add support for gcd local development server[/+] on Feb 17, 2015
  8. dhermes
    closed this as completedin #656on Feb 18, 2015
  9. dhermes commented on Feb 18, 2015

    @dhermes
    dhermes
    on Feb 18, 2015
    Contributor
    More actions

    @rstuart85 support is in. We'll (hopefully) cut 0.4.2 on Friday so you'll be able to use gcd out of the box.

  10. rstuart85 commented on Feb 18, 2015

    @rstuart85
    rstuart85
    on Feb 18, 2015
    Author
    More actions

    @dhermes Wonderful, thanks for all the hard work.

  11. dhermes commented on Feb 26, 2015

    @dhermes
    dhermes
    on Feb 26, 2015
    Contributor
    More actions

    @rstuart85 sorry for the delay but 0.4.2 went out today so use gcd at your heart's content!

  12. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  13. vchudnov-g
    added a commit that references this issue on Sep 20, 2023

    chore: Update gapic-generator-python to v1.11.3 (#650)

    6b4a165
  14. parthea
    added 2 commits that reference this issue on Oct 21, 2023

    added model in the sample [(#650)](GoogleCloudPlatform/python-docs-sa…

    a403293

    feat!: migrate API to microgenerator (#31)

    00a2690
  15. parthea
    added a commit that references this issue on Sep 18, 2025

    chore(main): release 0.20.0 (#650)

    ae98f6d
  16. parthea
    added 8 commits that reference this issue on Nov 24, 2025

    fix: the common resources are not targets for lookup (#650)

    9653551

    chore(main): release 2.19.1 (#650)

    8e5d5ed

    chore(main): release 2.7.2 (#650)

    cb01995

    feat: include context on batch log errors (#650)

    5faaa74

    fix: defer clearing global cache when in transaction (#660)

    e84cd4d

    feat: include context on batch log errors (#650)

    4c536f0

    docs: fix typo in import (#651)

    c83e8aa

    chore: release 1.24.0 (#656)

    a4c7d60
  17. parthea
    added 2 commits that reference this issue on Mar 9, 2026

    chore(deps): update dependency charset-normalizer to v3.4.2 (#650)

    1d61fa4

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

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

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

Labels

api: datastoreIssues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.