Skip to content

Commit

Permalink
chore: added check for unset values
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Feb 22, 2024
1 parent 040d2eb commit 894f642
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions twilio/base/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def flatten_dict(d, result=None, prv_keys=None):


def boolean_to_string(bool_or_str):
if bool_or_str == values.unset:
return bool_or_str

if bool_or_str is None:
return bool_or_str

Expand Down

0 comments on commit 894f642

Please sign in to comment.