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
SlidingWindowSemaphore inherits TaskSemaphore but overrides all of its methods. TaskSemaphore has a _semaphore member variable which is not used by SlidingWindowSemaphore. __init__ is never called on the base class so the member is not created but could cause future maintenance headaches.
A new base interface class needs to be created or just use duck typing for the semaphore classes.
The text was updated successfully, but these errors were encountered:
SlidingWindowSemaphore
inheritsTaskSemaphore
but overrides all of its methods.TaskSemaphore
has a_semaphore
member variable which is not used bySlidingWindowSemaphore
. __init__ is never called on the base class so the member is not created but could cause future maintenance headaches.A new base interface class needs to be created or just use duck typing for the semaphore classes.
The text was updated successfully, but these errors were encountered: