forked from phoenix/litellm-mirror
fix(proxy/utils.py): add linting fix
This commit is contained in:
parent
ff2e002a92
commit
db0489d603
1 changed files with 4 additions and 1 deletions
|
@ -1142,6 +1142,9 @@ class PrismaClient:
|
||||||
)
|
)
|
||||||
_data: dict = {}
|
_data: dict = {}
|
||||||
if response is not None:
|
if response is not None:
|
||||||
|
try:
|
||||||
|
_data = response.model_dump() # type: ignore
|
||||||
|
except Exception as e:
|
||||||
_data = response.dict()
|
_data = response.dict()
|
||||||
return {"token": token, "data": _data}
|
return {"token": token, "data": _data}
|
||||||
elif (
|
elif (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue