You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jackgene, thank you for the contribution! You're right, something weird is here, but it doesn't look as simple as in your PR. How did you get this error? I don't see any place where request_update() is called, so self._future should be always None.
Hi @jackgene, thank you for the contribution! You're right, something weird is here, but it doesn't look as simple as in your PR. How did you get this error? I don't see any place where request_update() is called, so self._future should be always None.
Yeah, I don't think it's called within the library. I think it's just something that could potentially happen if a client calls request_update(). I discovered these two weird future calls as they were flagged by Pyright during type checking.
Describe the bug
On ClusterMetadata, an
update_metadata(...)
call following arequest_update()
call always fails.This is because
update_metadata(...)
is calling:Both of which do not exist.
Expected behaviour
The correct
concurrent.futures.Future
API is used, and no exception is thrown.Environment (please complete the following information):
Reproducible example
The text was updated successfully, but these errors were encountered: