From b304bedd8c2b3dcaaac3b82ee794e88fd8c9424b Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Mon, 11 Nov 2024 12:48:12 +0300 Subject: [PATCH] chore: code formatting --- .../abstractions/kiota_abstractions/request_information.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/abstractions/kiota_abstractions/request_information.py b/packages/abstractions/kiota_abstractions/request_information.py index 185c1ffb..666ed308 100644 --- a/packages/abstractions/kiota_abstractions/request_information.py +++ b/packages/abstractions/kiota_abstractions/request_information.py @@ -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)