8000 Reverting optional param · sangsiri/twilio-python@3bb6b3f · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 3bb6b3f

Browse files
committed
Reverting optional param
1 parent 79daa8d commit 3bb6b3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

twilio/task_router/workflow_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class WorkflowRule:
2020
The name of the filter
2121
"""
2222

23-
def __init__(self, expression, targets, friendly_name=None):
23+
def __init__(self, expression, targets, friendly_name):
2424

2525
self.expression = expression
2626
self.targets = targets

twilio/task_router/workflow_ruletarget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class WorkflowRuleTarget:
1919
2020
The timeout before the reservation expires.
2121
"""
22-
def __init__(self, queue, expression, priority=None, timeout=None):
22+
def __init__(self, queue, expression, priority, timeout):
2323

2424
self.queue = queue
2525
self.expression = expression

0 commit comments

Comments
 (0)
0