We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8a38d commit d971f0eCopy full SHA for d971f0e
.generator/templates/api.mustache
@@ -3,7 +3,7 @@
3
import re # noqa: F401
4
import sys # noqa: F401
5
6
-from {{packageName}}.api_client import ApiClient, Endpoint
+from {{packageName}}.api_client import ApiClient, Endpoint as _Endpoint
7
from {{packageName}}.model_utils import ( # noqa: F401
8
check_allowed_values,
9
check_validations,
@@ -125,7 +125,7 @@ class {{classname}}(object):
125
{{/requiredParams}}
126
return self.call_with_http_info(**kwargs)
127
128
- self.{{operationId}} = Endpoint(
+ self.{{operationId}} = _Endpoint(
129
settings={
130
'response_type': {{#returnType}}({{{returnType}}},){{/returnType}}{{^returnType}}None{{/returnType}},
131
{{#authMethods}}
0 commit comments