-
Notifications
You must be signed in to change notification settings - Fork 3.3k
added async_req parameter (default to True) to ApiClient constructor #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -59,12 +59,14 @@ class ApiClient(object): | |||
'object': object, | |||
} | |||
|
|||
def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None): | |||
def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, async_req=True): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is auto-generated by swagger-codegen. You could contribute to swagger-codegen python template. When you did, we can import the changes here. Ref: #226
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@roycaihw sure, can migrate the code change there, but other than that, the code looks ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code change makes sense to me, although I'm not a python expert :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created the PR here: swagger-api/swagger-codegen#7782
Unknown CLA label state. Rechecking for CLA labels. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
It looks like the upstream fix was stale. We recently bumped our dependency to use up-to-date upstream generator #931. If this issue has been fixed upstream, we should have picked the fix up /close |
@roycaihw: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Taking a stab at issue #471
@dims ptal