Skip to content

Commit 94d65dd

Browse files
committed
Deploy
1 parent d9af202 commit 94d65dd

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

bandwidth/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.2.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.3.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

bandwidth/messaging/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.2.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.3.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

bandwidth/twofactorauth/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.2.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.3.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

bandwidth/voice/bxml/verbs/gather.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Gather(AbstractBxmlVerb):
1717

1818
def __init__(self, gather_url=None, gather_method=None, terminating_digits=None, tag=None, max_digits=None,
1919
inter_digit_timeout=None, username=None, password=None, first_digit_timeout=None,
20-
play_audio=None, speak_sentence=None, repeat_count=None):
20+
play_audio=None, speak_sentence=None, repeat_count=None, nested_verbs=None):
2121
"""
2222
Initializes the Gather class with the following parameters
2323
@@ -33,6 +33,7 @@ def __init__(self, gather_url=None, gather_method=None, terminating_digits=None,
3333
:param PlayAudio play_audio: The PlayAudio tag to include in the gather
3434
:param SpeakSentence speak_sentence: The SpeakSentence tag to include in the gather
3535
:param int repeat_count: The number of times to repeat the audio prompt
36+
:param list<PlayAudio|SpeakSentence> nested_verbs: The list of verbs to nest in the gather
3637
"""
3738

3839
self.gather_url = gather_url
@@ -47,6 +48,7 @@ def __init__(self, gather_url=None, gather_method=None, terminating_digits=None,
4748
self.play_audio = play_audio
4849
self.speak_sentence = speak_sentence
4950
self.repeat_count = repeat_count
51+
self.nested_verbs = nested_verbs
5052

5153
def to_bxml(self):
5254
root = etree.Element(GATHER_TAG)
@@ -74,4 +76,7 @@ def to_bxml(self):
7476
root.append(self.play_audio.to_etree_element())
7577
if self.speak_sentence is not None:
7678
root.append(self.speak_sentence.to_etree_element())
79+
if self.nested_verbs is not None:
80+
for verb in self.nested_verbs:
81+
root.append(verb.to_etree_element())
7782
return etree.tostring(root).decode()

bandwidth/voice/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.2.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.3.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='bandwidth-sdk',
15-
version='6.2.0',
15+
version='6.3.0',
1616
description='Bandwidth\'s set of APIs',
1717
long_description=long_description,
1818
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)