-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
648 additions
and
868 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,35 @@ | ||
# coding: utf-8 | ||
|
||
# flake8: noqa | ||
|
||
{{>partial_header}} | ||
|
||
__version__ = "{{packageVersion}}" | ||
|
||
# import apis into sdk package | ||
{{#apiInfo}}{{#apis}}from {{apiPackage}}.{{classFilename}} import {{classname}} | ||
{{/apis}}{{/apiInfo}} | ||
# import ApiClient | ||
from {{packageName}}.api_response import ApiResponse | ||
from {{packageName}}.api_client import ApiClient | ||
|
||
# import Configuration | ||
from {{packageName}}.configuration import Configuration | ||
{{#hasHttpSignatureMethods}} | ||
from {{packageName}}.signing import HttpSigningConfiguration | ||
{{/hasHttpSignatureMethods}} | ||
|
||
# import exceptions | ||
from {{packageName}}.exceptions import OpenApiException | ||
from {{packageName}}.exceptions import ApiAttributeError | ||
from {{packageName}}.exceptions import ApiTypeError | ||
from {{packageName}}.exceptions import ApiValueError | ||
from {{packageName}}.exceptions import ApiKeyError | ||
from {{packageName}}.exceptions import ApiAttributeError | ||
from {{packageName}}.exceptions import ApiException | ||
from {{packageName}}.version import VERSION | ||
{{#hasHttpSignatureMethods}} | ||
from {{packageName}}.signing import HttpSigningConfiguration | ||
{{/hasHttpSignatureMethods}} | ||
|
||
# import models into sdk package | ||
{{#models}} | ||
{{#model}} | ||
from {{modelPackage}}.{{classFilename}} import {{classname}} | ||
{{/model}} | ||
{{/models}} | ||
{{#recursionLimit}} | ||
|
||
__import__('sys').setrecursionlimit({{{.}}}) | ||
{{/recursionLimit}} | ||
__version__ = VERSION | ||
{{/recursionLimit}} |
Oops, something went wrong.