8000 Override generated attributes when generating TwiML (#439) · twilio/twilio-python@cd2834c · GitHub
[go: up one dir, main page]

Skip to content
< 8000 header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark>

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cd2834c

Browse files
authored
Override generated attributes when generating TwiML (#439)
1 parent aebeee9 commit cd2834c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

twilio/twiml/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ class TwiMLException(Exception):
3232

3333
class TwiML(object):
3434
MAP = {
35-
'from_': 'from'
35+
'from_': 'from',
36+
'xml_lang': 'xml:lang',
37+
'interpret_as': 'interpret-as',
3638
}
3739

3840
def __init__(self, **kwargs):

0 commit comments

Comments
 (0)
0