-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add tgis timeout #358
Add tgis timeout #358
Conversation
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
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.
LGTM - the test client functions don't seem to match up (already) but doesn't have to block this PR
return StubTGISClient.tokenize(request) | ||
|
||
@staticmethod | ||
def unary_generate(request): | ||
def unary_generate(request, **kwargs): |
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.
Interesting, the args here look pretty different overall than the TGISClient (i.e. no request
is passed there, and timeout wouldn't be coming through these functions anyway)
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.
it does.. I think there is some mismatch in terms of how the tests have been written. I need to revisit and refactor the tests a bit I think, but punting on that for getting the fix out.
Changes