flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

Decode bytes to strings in Python Object API

Open sethraymond opened this issue 9 months ago • 5 comments

Type-hints for the Python Object API are incorrect for strings - the _UnPack() method does not convert bytes to strings. This PR introduces an optional flag (false by default) that enables decoding the bytes into string objects.

Resolves #5997

sethraymond avatar Mar 05 '25 15:03 sethraymond

Bump

sethraymond avatar Mar 25 '25 19:03 sethraymond

@aardappel bump, can we get the CI run on this PR?

sethraymond avatar Apr 21 '25 15:04 sethraymond

You can get the CI to run by rebasing, it is out of date.. I guess I'll do that for you.

aardappel avatar Apr 22 '25 17:04 aardappel

Looks ok, I guess? @dbaileychess

aardappel avatar Apr 22 '25 21:04 aardappel

Bump @aardappel and @dbaileychess

sethraymond avatar May 05 '25 19:05 sethraymond

@aardappel, I see there's been some movement with other PRs - can this get merged? Thanks!

sethraymond avatar Jun 27 '25 18:06 sethraymond

Ok, lets merge, thanks!

aardappel avatar Jun 29 '25 08:06 aardappel