Sign in
pigweed
/
third_party
/
github
/
google
/
flatbuffers
/
refs/heads/upstream/ts-js-up-deps
/
.
/
goldens
/
py
/
generate.py
blob: ceff5d2d6b758dd6dcaa75d2720f9fc5ffd09b55 [
file
] [
log
] [
blame
] [
edit
]
from
golden_utils
import
flatc_golden
def
flatc
(
options
,
schema
):
# Wrap the golden flatc generator with Python specifics
flatc_golden
(
options
=[
"--python"
]
+
options
,
schema
=
schema
,
prefix
=
"py"
)
def
GeneratePython
():
flatc
([],
"basic.fbs"
)