Files
flatbuffers/tests/optional_scalars/OptionalByte.py
Caleb Zulawski 49e1ea3335 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>
2022-06-13 09:16:00 -04:00

9 lines
167 B
Python

# automatically generated by the FlatBuffers compiler, do not modify
# namespace: optional_scalars
class OptionalByte(object):
None_ = 0
One = 1
Two = 2