You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
Deserializing a MessageT object is supported
Actual Behavior
Deserializing the MessageT object throws a NameError because Foo is not defined (not imported from inc_generated.py) in Message.Payload().
The text was updated successfully, but these errors were encountered:
sethraymond
added a commit
to sethraymond/flatbuffers
that referenced
this issue
Feb 27, 2025
Found in Version:
flatc version 24.12.23
Steps to Reproduce:
.fbs
files:inc.fbs
:base.fbs
:flatc --python --gen-onefile --gen-object-api -I ./ inc.fbs base.fbs
--gen-object-api
isn't the broken flag -import
errors can still be seen without it, it's just useful for demonstration purposesMessageT
object:Expected Behavior
Deserializing a
MessageT
object is supportedActual Behavior
Deserializing the
MessageT
object throws aNameError
becauseFoo
is not defined (not imported frominc_generated.py
) inMessage.Payload()
.The text was updated successfully, but these errors were encountered: