Fix python type annotation output when not enabled (#7983)

Fixes #7971

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
Aaron Barany
2023-11-29 09:58:21 -08:00
committed by GitHub
parent da55ac3a27
commit 5ba80c24e0
11 changed files with 48 additions and 44 deletions

View File

@@ -81,7 +81,7 @@ def AddIncludedFilenames(builder, includedFilenames):
def SchemaFileStartIncludedFilenamesVector(builder, numElems):
return builder.StartVector(4, numElems, 4)
def StartIncludedFilenamesVector(builder, numElems: int) -> int:
def StartIncludedFilenamesVector(builder, numElems):
return SchemaFileStartIncludedFilenamesVector(builder, numElems)
def SchemaFileEnd(builder):