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

Skip to content

Commit 9141d3c

Browse files
Merge branch 'main' into boolean_to_String_changes
2 parents d09a7a5 + 69441eb commit 9141d3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

twilio/base/serialize.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def flatten_dict(d, result=None, prv_keys=None):
6262

6363

6464
def boolean_to_string(bool_or_str):
65+
if bool_or_str == values.unset:
66+
return bool_or_str
67+
6568
if bool_or_str is None:
6669
return bool_or_str
6770

0 commit comments

Comments
 (0)