Skip to content

don't convert (unindexed) ascii str to bytes in GenericProperty - #100

Open
pnico wants to merge 3 commits into
GoogleCloudPlatform:mainfrom
freshplanet:fix/generic-property-ascii-str
Open

don't convert (unindexed) ascii str to bytes in GenericProperty#100
pnico wants to merge 3 commits into
GoogleCloudPlatform:mainfrom
freshplanet:fix/generic-property-ascii-str

Conversation

@pnico

@pnicopnico commented Aug 21, 2023

Copy link
Copy Markdown

Fixes#99 (but only for non-indexed properties), while keeping the same behavior as before if the value was passed as a bytes object or if the property is indexed

  • [x ] Tests pass
  • Appropriate changes to README are included in PR

@pnicopnico changed the title don't convert (unindexed) ascii str to bytesdon't convert (unindexed) ascii str to bytes in GenericPropertyAug 21, 2023
@ludoch
ludoch requested review from asriniva and shreejad and removed request for asrinivaAugust 22, 2023 22:31
@pnico
pnicoforce-pushed the fix/generic-property-ascii-str branch from 4e733ec to 546bb38CompareSeptember 19, 2023 17:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GenericProperty (and therefore Expando) changes str values to bytes (sometimes)

1 participant

@pnico