Skip to content

Commit 69441eb

Browse files
chore: added check for unset values (#771)
1 parent 040d2eb commit 69441eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

twilio/base/serialize.py

+3
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)