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

site-packages/harvesters/core.py:2314: DeprecationWarning: please consider to use timeout_period_on_client_fetch_call instead of timeout_on_client_fetch_call. #403

Closed
HitoshiUchida opened this issue Apr 5, 2023 · 1 comment

Comments

@HitoshiUchida
Copy link

Warining appear.

.local/share/virtualenvs/02_Main-auq7hWNs/lib/python3.10/site-packages/harvesters/core.py:2314: DeprecationWarning: please consider to use timeout_period_on_client_fetch_call instead of timeout_on_client_fetch_call.
  timeout_on_client_fetch_call=self.timeout_on_client_fetch_call)

It can fix with,

        for monitor in self._new_buffer_event_monitor_dict.values():
            buffer = self._fetch(monitor=monitor,
#                                 timeout_on_client_fetch_call=self.timeout_on_client_fetch_call)
                                 timeout_on_client_fetch_call=self.timeout_period_on_client_fetch_call)

@HitoshiUchida
Copy link
Author

harvesters 1.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant