mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-16 09:12:22 +00:00
Implement optional scalars for Python (#7318)
* Implement optional scalars for Python * Use == for integer comparison, remove empty line * Fix optional type hint Co-authored-by: Caleb Zulawski <caleb.zulawski@caci.com>
This commit is contained in:
8
tests/optional_scalars/OptionalByte.py
Normal file
8
tests/optional_scalars/OptionalByte.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# automatically generated by the FlatBuffers compiler, do not modify
|
||||
|
||||
# namespace: optional_scalars
|
||||
|
||||
class OptionalByte(object):
|
||||
None_ = 0
|
||||
One = 1
|
||||
Two = 2
|
||||
Reference in New Issue
Block a user