Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ffbf69

Browse files
committed
Pass timeout into super and Statistics constructors
1 parent 0c6b6a3 commit 5ffbf69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twilio/rest/resources/task_router/workers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class Workers(NextGenListResource):
3030
instance = Worker
3131

3232
def __init__(self, base_uri, auth, timeout, **kwargs):
33-
super(Workers, self).__init__(base_uri, auth, **kwargs)
34-
self.statistics = Statistics(self.uri, auth, **kwargs)
33+
super(Workers, self).__init__(base_uri, auth, timeout, **kwargs)
34+
self.statistics = Statistics(self.uri, auth, timeout, **kwargs)
3535

3636
def create(self, friendly_name, **kwargs):
3737
"""

0 commit comments

Comments
 (0)