Skip to content
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

Polling error with conductor-python 1.0.33 #107

Closed
phmurias-invitae opened this issue Jul 20, 2022 · 2 comments · Fixed by #106
Closed

Polling error with conductor-python 1.0.33 #107

phmurias-invitae opened this issue Jul 20, 2022 · 2 comments · Fixed by #106
Labels
bug Something isn't working

Comments

@phmurias-invitae
Copy link
Contributor

When migrating from version 1.0.32 to version 1.0.33 task polling stopped working.

The worker is polling to an empty task queue, and we get:

File ".../site-packages/conductor/client/http/api_client.py", line 612, in __deserialize_model
    klass.attribute_map[attr] in data and
TypeError: a bytes-like object is required, not 'str'

It seems that the error originated in this commit when the following check was removed:

        if data == b'':
            return None
@gardusig
Copy link
Contributor

Yes, you're right! This bug should be solved by next release ✅
Thanks for the feedback!

@gardusig gardusig linked a pull request Jul 21, 2022 that will close this issue
@phmurias-invitae
Copy link
Contributor Author

Thank you @gardusig

@gardusig gardusig added the bug Something isn't working label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants