humio/python-humio

Poll in static query job doesn't propagate kwargs

vishalkuo opened this issue · 1 comments

Describe the bug
Currently, the poll() method in StaticQueryJob will not propagate **kwargs meaning that if you set a timeout in the function call, it never gets set in the webcaller

To Reproduce

query_job = client.create_queryjob(query)
query_job.poll(timeout=1) # can hang indefinitely 

Expected behavior
the above snippet should raise an exception