cachedep-fix+orjson+fmt
All checks were successful
Deploy on push / deploy (push) Successful in 1m16s

This commit is contained in:
2025-03-20 11:55:21 +03:00
parent a1781b3800
commit 247fc98760
14 changed files with 245 additions and 75 deletions

View File

@@ -1,8 +1,9 @@
import json
from decimal import Decimal
import orjson
class CustomJSONEncoder(json.JSONEncoder):
class CustomJSONEncoder(orjson.JSONEncoder):
def default(self, obj):
if isinstance(obj, Decimal):
return str(obj)