refactor: use f-strings in remaining modules, scripts and tests

This commit is contained in:
Mark Paronyan committed 2026-10-03 19:44:02 +03:00
1 parent be943fcdf3
commit 3135c8b7e3
12 files changed
+55 -78

No files matched your search

+2 -2
View File
@@ -59,10 +59,10 @@ class GUID(TypeDecorator):
return str(value)
else:
if not isinstance(value, uuid.UUID):
return "{:032x}".format(uuid.UUID(value).int)
return f"{uuid.UUID(value).int:032x}"
else:
# hexstring
return "{:032x}".format(value.int)
return f"{value.int:032x}"
def process_result_value(self, value, dialect):
if value is None: