Skip to content

Commit

Permalink
only apply str handling if str
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Oct 9, 2024
1 parent 3218765 commit 3ddf12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_hubspot_beta/client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def process_row_types(self,row) -> Dict[str, Any]:
if field_type == "boolean":
if value is None:
row[field] = False
elif not isinstance(value, bool):
elif isinstance(value, str):
# Attempt to cast to boolean
if value.lower() == "true":
row[field] = True
Expand Down

0 comments on commit 3ddf12c

Please sign in to comment.