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

Throwing warning for deprecated disable_window_seconds #3029

Closed
giacomodabisias opened this issue Jan 8, 2021 · 0 comments · Fixed by #3081
Closed

Throwing warning for deprecated disable_window_seconds #3029

giacomodabisias opened this issue Jan 8, 2021 · 0 comments · Fixed by #3081

Comments

@giacomodabisias
Copy link

giacomodabisias commented Jan 8, 2021

Currently the disable_window function

def disable_window(self):
returns a reference to disable_window_seconds
def disable_window_seconds(self):

This function throws a warning which states that disable_window_seconds is deprecated stating that disable_window should be used.

This does not make much sense and causes errors when you treat warnings as errors :)
Could we either remove the warning or actually implement the disable_window properly?

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

Successfully merging a pull request may close this issue.

1 participant