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 — Raise exception with helpful error on Client pickle. · Issue #3211 · googleapis/google-cloud-python

Raise exception with helpful error on Client pickle. #3211

New issue
Copy link
New issue
Copy link
Closed
Closed
Raise exception with helpful error on Client pickle.#3211
Copy link
Assignees
lukesneeringer
Labels
api: datastoreIssues related to the Datastore API.

Description

@lukesneeringer
lukesneeringer
opened on Mar 27, 2017
Issue body actions

Based on the discussion in #3191, raise an exception with a helpful error stating that Client classes are not pickleable.

Note to self: We probably want this in GAX also.

Activity

  1. lukesneeringer
    self-assigned this
    on Mar 27, 2017
  2. daspecster
    added
    api: datastoreIssues related to the Datastore API.
    on Mar 27, 2017
  3. dhermes commented on Mar 27, 2017

    @dhermes
    dhermes
    on Mar 27, 2017
    Contributor
    More actions
    _PICKLE_MSG = """\
    Pickling client objects is explicitly not supported.
    
    Clients have a large amount of state that is local and unpickleable.
    """
    
    class Client(...):
        ...
        def __getstate__(self):
            raise NotImplementedError(_PICKLE_MSG)
  4. lukesneeringer
    added a commit that references this issue on Mar 28, 2017

    Make clients explicitly unpickleable.

    This issue will close once commit 15529c1 is merged into the 'master' branch.
    15529c1
  5. lukesneeringer
    closed this as completedin #3230on Mar 30, 2017
  6. dhermes
    added 3 commits that reference this issue on Mar 30, 2017

    Make clients explicitly unpickleable.

    This issue will close once commit 71f8d5d is merged into the 'main' branch.
    71f8d5d

    Make clients explicitly unpickleable.

    This issue will close once commit 966cb4d is merged into the 'main' branch.
    966cb4d

    Make clients explicitly unpickleable.

    This issue will close once commit 1c7098d is merged into the 'main' branch.
    1c7098d
  7. lukesneeringer
    added a commit that references this issue on Mar 30, 2017

    GA and Beta Promotions (#3245)

    This issue will close once commit 175a587 is merged into the 'main' branch.
    175a587
  8. richkadel
    added a commit that references this issue on May 6, 2017

    GA and Beta Promotions (googleapis#3245)

    This issue will close once commit 13abcf6 is merged into the 'master' branch.
    13abcf6
  9. atulep
    added a commit that references this issue on Apr 3, 2023

    GA and Beta Promotions (#3245)

    This issue will close once commit bc6f2ef is merged into the 'main' branch.
    bc6f2ef
  10. atulep
    added a commit that references this issue on Apr 18, 2023

    GA and Beta Promotions (#3245)

    This issue will close once commit de75dea is merged into the 'main' branch.
    de75dea
  11. parthea
    added a commit that references this issue on Jun 4, 2023

    GA and Beta Promotions (#3245)

    This issue will close once commit 624ed5d is merged into the 'main' branch.
    624ed5d
  12. parthea
    added a commit that references this issue on Jul 6, 2023

    GA and Beta Promotions (#3245)

    This issue will close once commit a9c177d is merged into the 'main' branch.
    a9c177d
  13. parthea
    added 6 commits that reference this issue on Oct 21, 2023

    GA and Beta Promotions (#3245)

    This issue will close once commit f8234bf is merged into the 'main' branch.
    f8234bf

    GA and Beta Promotions (#3245)

    This issue will close once commit 6601a00 is merged into the 'main' branch.
    6601a00

    chore(deps): update dependency google-cloud-translate to v2 [(#3211)](G…

    This issue will close once commit d4cae0c is merged into the 'main' branch.
    d4cae0c

    feat!: migrate API to microgenerator (#31)

    This issue will close once commit 00a2690 is merged into the 'main' branch.
    00a2690

    GA and Beta Promotions (#3245)

    This issue will close once commit 39e2b16 is merged into the 'main' branch.
    39e2b16

    GA and Beta Promotions (#3245)

    This issue will close once commit d155d13 is merged into the 'main' branch.
    d155d13
  14. parthea
    added 7 commits that reference this issue on Nov 22, 2025

    GA and Beta Promotions (#3245)

    This issue will close once commit ca22969 is merged into the 'main' branch.
    ca22969

    GA and Beta Promotions (#3245)

    This issue will close once commit 566233d is merged into the 'main' branch.
    566233d

    GA and Beta Promotions (#3245)

    This issue will close once commit e915e03 is merged into the 'main' branch.
    e915e03

    GA and Beta Promotions (#3245)

    This issue will close once commit 16a9f84 is merged into the 'main' branch.
    16a9f84

    GA and Beta Promotions (#3245)

    This issue will close once commit 092fdab is merged into the 'main' branch.
    092fdab

    GA and Beta Promotions (#3245)

    This issue will close once commit 0a25866 is merged into the 'main' branch.
    0a25866

    GA and Beta Promotions (#3245)

    This issue will close once commit 7843574 is merged into the 'main' branch.
    7843574
  15. parthea
    added a commit that references this issue on Mar 2, 2026

    GA and Beta Promotions (#3245)

    This issue will close once commit 0a49f6f is merged into the 'main' branch.
    0a49f6f
  16. parthea
    added 2 commits that reference this issue on Mar 9, 2026

    GA and Beta Promotions (#3245)

    This issue will close once commit b29f7dd is merged into the 'main' branch.
    b29f7dd

    GA and Beta Promotions (#3245)

    This issue will close once commit a223d7a is merged into the 'main' branch.
    a223d7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer

Labels

api: datastoreIssues related to the Datastore API.

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.