forked from loafle/openapi-generator-original
[Python] Update docstring and fix a typo (#6612)
* [Python] Update docstring and fix a typo * regenerate
This commit is contained in:
@@ -2,18 +2,21 @@
|
||||
|
||||
# flake8: noqa
|
||||
|
||||
# import all apis into this package
|
||||
# if you have many ampis here with many many models used in each api this may
|
||||
# raise a RecursionError
|
||||
# to avoid this, import only the api that you directly need like:
|
||||
# from {{packagename}}.api.pet_api import PetApi
|
||||
# Import all APIs into this package.
|
||||
# If you have many APIs here with many many models used in each API this may
|
||||
# raise a `RecursionError`.
|
||||
# In order to avoid this, import only the API that you directly need like:
|
||||
#
|
||||
# from {{packagename}}.api.pet_api import PetApi
|
||||
#
|
||||
# or import this package, but before doing it, use:
|
||||
# import sys
|
||||
# sys.setrecursionlimit(n)
|
||||
#
|
||||
# import sys
|
||||
# sys.setrecursionlimit(n)
|
||||
|
||||
# import apis into api package
|
||||
# Import APIs into API package:
|
||||
{{#apiInfo}}
|
||||
{{#apis}}
|
||||
from {{apiPackage}}.{{classVarName}} import {{classname}}
|
||||
{{/apis}}
|
||||
{{/apiInfo}}
|
||||
{{/apiInfo}}
|
||||
|
||||
@@ -2,16 +2,19 @@
|
||||
|
||||
# flake8: noqa
|
||||
|
||||
# import all apis into this package
|
||||
# if you have many ampis here with many many models used in each api this may
|
||||
# raise a RecursionError
|
||||
# to avoid this, import only the api that you directly need like:
|
||||
# from .api.pet_api import PetApi
|
||||
# Import all APIs into this package.
|
||||
# If you have many APIs here with many many models used in each API this may
|
||||
# raise a `RecursionError`.
|
||||
# In order to avoid this, import only the API that you directly need like:
|
||||
#
|
||||
# from .api.pet_api import PetApi
|
||||
#
|
||||
# or import this package, but before doing it, use:
|
||||
# import sys
|
||||
# sys.setrecursionlimit(n)
|
||||
#
|
||||
# import sys
|
||||
# sys.setrecursionlimit(n)
|
||||
|
||||
# import apis into api package
|
||||
# Import APIs into API package:
|
||||
from petstore_api.api.another_fake_api import AnotherFakeApi
|
||||
from petstore_api.api.fake_api import FakeApi
|
||||
from petstore_api.api.fake_classname_tags_123_api import FakeClassnameTags123Api
|
||||
|
||||
@@ -2,16 +2,19 @@
|
||||
|
||||
# flake8: noqa
|
||||
|
||||
# import all apis into this package
|
||||
# if you have many ampis here with many many models used in each api this may
|
||||
# raise a RecursionError
|
||||
# to avoid this, import only the api that you directly need like:
|
||||
# from .api.pet_api import PetApi
|
||||
# Import all APIs into this package.
|
||||
# If you have many APIs here with many many models used in each API this may
|
||||
# raise a `RecursionError`.
|
||||
# In order to avoid this, import only the API that you directly need like:
|
||||
#
|
||||
# from .api.pet_api import PetApi
|
||||
#
|
||||
# or import this package, but before doing it, use:
|
||||
# import sys
|
||||
# sys.setrecursionlimit(n)
|
||||
#
|
||||
# import sys
|
||||
# sys.setrecursionlimit(n)
|
||||
|
||||
# import apis into api package
|
||||
# Import APIs into API package:
|
||||
from petstore_api.api.another_fake_api import AnotherFakeApi
|
||||
from petstore_api.api.default_api import DefaultApi
|
||||
from petstore_api.api.fake_api import FakeApi
|
||||
|
||||
Reference in New Issue
Block a user