[Python] Update docstring and fix a typo (#6612)

* [Python] Update docstring and fix a typo

* regenerate
This commit is contained in:
Jiri Kuncar
2020-06-11 04:06:39 +02:00
committed by GitHub
parent 31d05f3f48
commit ebcce67419
3 changed files with 34 additions and 25 deletions

View File

@@ -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}}

View File

@@ -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

View File

@@ -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