osrm-backend/third_party/flatbuffers/goldens/py/generate.py

11 lines
256 B
Python

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")