We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72b9ec3 commit 11f8e98Copy full SHA for 11f8e98
1 file changed
src/pytito/admin/_base_client.py
@@ -175,7 +175,7 @@ def is_timezone_aware(dt: datetime) -> bool:
175
raise TypeError(f'value must be a datetime, got {type(value)}')
176
# Check the value has a timezone specified
177
if not is_timezone_aware(value):
178
- raise ValueError(f'value must have a timezone to be successfully converted')
+ raise ValueError('value must have a timezone to be successfully converted')
179
return value.isoformat()
180
181
def optional_datetime_from_json(json_value: str) -> Optional[datetime]:
0 commit comments