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

Skip to content

Commit cd2834c

Browse files
authored
Override generated attributes when generating TwiML (twilio#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