Skip to content

Commit

Permalink
chore: code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman committed Nov 11, 2024
1 parent 15c708b commit b304bed
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,10 @@ def _get_sanitized_value(self, value: Any) -> Any:
timezone_info = value.tzinfo
if timezone_info is None:
timezone_info = timezone.utc
temp_date_with_tz_info = datetime(value.year, value.month, value.day, value.hour, value.minute, value.second, value.microsecond, timezone_info)
temp_date_with_tz_info = datetime(
value.year, value.month, value.day, value.hour, value.minute, value.second,
value.microsecond, timezone_info
)
sanitized_value = temp_date_with_tz_info.isoformat("T")
elif any([isinstance(value, UUID), isinstance(value, date), isinstance(value, time)]):
sanitized_value = str(value)
Expand Down

0 comments on commit b304bed

Please sign in to comment.