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 — Document "text" vs. "bytes" values for Entities · Issue #266 · googleapis/google-cloud-python

Document "text" vs. "bytes" values for Entities #266

New issue
Copy link
New issue
Copy link
Closed
#331
Closed
Document "text" vs. "bytes" values for Entities#266
#331
Copy link
Assignees
tseaver
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Description

@tseaver
tseaver
opened on Oct 19, 2014
Issue body actions

Docs need to explain clearly how users can ensure that the values they set onto entities get mapped as they expect: "text" values should be mapped to/from 'string_value' entries on the protobufs, and "bytes" values should be mapped to/from 'blob_value' entries.

We are to have to educate folks that the native 'str' is "bytes" on Python2, but "text" on Python3, and mandate that they be explicit if they want to control how such values get stored.

Activity

Next
  1. tseaver
    added
    api: datastoreIssues related to the Datastore API.
    documentation
    on Oct 19, 2014
  2. sheridangray commented on Oct 30, 2014

    @sheridangray
    sheridangray
    on Oct 30, 2014
    More actions

    It may be helpful to explain to Python2 users that they need to encode their strings with unicode in order to map it correctly. I understood that ""text" values should be mapped to/from 'string_value' entries on the protobufs" but it took me a bit of time to figure out HOW to do that.

  3. tseaver
    closed this as completedin #331on Nov 4, 2014
  4. tseaver
    added a commit that references this issue on Nov 4, 2014

    Merge pull request #331 from tseaver/266-document_text_vs_bytes_values

    This issue will close once commit abe3d7c is merged into the 'main' branch.
    abe3d7c
  5. jgeewax
    modified the milestone: This milestone has been deleted on Jan 30, 2015
  6. urshala
    added a commit that references this issue on Jan 17, 2020

    Account now uses the default protocol. Fixes googleapis#266.

    This issue will close once commit 5518c3d is merged into the 'master' branch.
    5518c3d
  7. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 7, 2020
  8. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  9. atulep
    added 2 commits that reference this issue on Apr 6, 2023

    chore(deps): update dependency google-cloud-speech to v2.9.3 (#266)

    ba5b715

    chore(deps): update dependency google-cloud-speech to v2.9.3 (#266)

    6507d23
  10. atulep
    added a commit that references this issue on Apr 18, 2023

    chore(deps): update dependency google-cloud-speech to v2.9.3 (#266)

    64d9228
  11. parthea
    added a commit that references this issue on Jun 4, 2023

    chore(main): release 1.10.1 (#266)

    46ef93b
  12. 38 remaining items

  13. parthea
    added a commit that references this issue on Aug 21, 2025

    chore(deps): update dependency google-cloud-bigquery-storage to v2.6.3 (

    57c8de0
  14. parthea
    added 2 commits that reference this issue on Sep 16, 2025

    chore(deps): update dependency google-cloud-bigquery-storage to v2.6.3 (

    45984f8

    feat: accepts a table ID, which downloads the table without a query (#…

    4dc6ff7
  15. parthea
    added 9 commits that reference this issue on Nov 24, 2025

    chore(python): disable dependency dashboard (#266)

    3e9c1f6

    chore: consolidate several renovate-bot changes (#273)

    2b5c00f

    fix: fix regression with `google.cloud._helpers._NOW` (#266)

    13a52ee

    chore(python): update dependencies in /.kokoro (#266)

    d966512

    fix: Changed `client_info` import and added new quickstart samples (#268

    d8aadc4

    chore(deps): update dependency google-cloud-error-reporting to v1.5.2 (…

    4958e5c

    chore: add constraints file (#266)

    c8d7a37

    Finish implementation of `query.ParameterizedFunction`. (#266)

    2433c47

    Warn when using user credentials from the Cloud SDK (#266)

    0d99a72
  16. parthea
    added a commit that references this issue on Mar 2, 2026

    fix: Modify synth.py to update grpc transport options (#266)

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

    chore(deps): update dependency typing-extensions to v4.4.0 (#266)

    a7ecaf4

    feat!: retrieve all markdown pages (#266)

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

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

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

    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.