cvat/cvat-sdk/gen/templates/openapi-generator/__init__models.mustache

17 lines
530 B
Plaintext
Raw Normal View History

2025-09-16 01:19:40 +00:00
{{>partial_header}}
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from {{modelPackage}}.pet import Pet
# or import this package, but before doing it, use:
# import sys
# sys.setrecursionlimit(n)
{{#models}}
{{#model}}
from {{modelPackage}}.{{classFilename}} import {{classname}}{{^interfaces}}, I{{classname}}{{/interfaces}}
{{/model}}
{{/models}}