Add reflection support for python (#7026)
authorqazwsxedcrfvtg14 <qazwsxedcrfvtg14@gmail.com>
Thu, 10 Feb 2022 19:10:47 +0000 (03:10 +0800)
committerGitHub <noreply@github.com>
Thu, 10 Feb 2022 19:10:47 +0000 (11:10 -0800)
commitb3006913369e0a7550795e477011ac5bebb93497
tree8521f25e005463483570d403e290f53b4c564d9a
parentfaadbc10ea4b77bc57960696ef0d1d053536c68a
Add reflection support for python (#7026)

We already have the reflection.fbs file and the flatbuffers
python language support.

Adding this feature would give the python developers the
ability to parse the flatbuffers schema and write some tools.

Co-authored-by: Derek Bailey <derekbailey@google.com>
14 files changed:
python/flatbuffers/reflection/AdvancedFeatures.py [new file with mode: 0644]
python/flatbuffers/reflection/BaseType.py [new file with mode: 0644]
python/flatbuffers/reflection/Enum.py [new file with mode: 0644]
python/flatbuffers/reflection/EnumVal.py [new file with mode: 0644]
python/flatbuffers/reflection/Field.py [new file with mode: 0644]
python/flatbuffers/reflection/KeyValue.py [new file with mode: 0644]
python/flatbuffers/reflection/Object.py [new file with mode: 0644]
python/flatbuffers/reflection/RPCCall.py [new file with mode: 0644]
python/flatbuffers/reflection/Schema.py [new file with mode: 0644]
python/flatbuffers/reflection/SchemaFile.py [new file with mode: 0644]
python/flatbuffers/reflection/Service.py [new file with mode: 0644]
python/flatbuffers/reflection/Type.py [new file with mode: 0644]
python/flatbuffers/reflection/__init__.py [new file with mode: 0644]
scripts/generate_code.py