fix(proxy/utils.py): add linting fix

This commit is contained in:
Krrish Dholakia 2024-03-02 21:11:25 -08:00
parent ff2e002a92
commit db0489d603

View file

@ -1142,6 +1142,9 @@ class PrismaClient:
)
_data: dict = {}
if response is not None:
try:
_data = response.model_dump() # type: ignore
except Exception as e:
_data = response.dict()
return {"token": token, "data": _data}
elif (