Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiog1901 committed Jan 30, 2024
1 parent 1fe0db7 commit d691597
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apiserver/worstrouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async def create_instance(
svc.add_documents,
[
{"comp_id": model_name + "_" + str(x.id)}
| x.model_dump(
| x.model_dump_json(
exclude=[
"id",
"created_at",
Expand Down Expand Up @@ -152,7 +152,7 @@ async def update_instance(
svc.add_documents,
[
{"comp_id": model_name + "_" + str(x.id)}
| x.model_dump(
| x.model_dump_json(
exclude=[
"id",
"created_at",
Expand Down Expand Up @@ -197,7 +197,7 @@ async def partial_update_instance(
svc.add_documents,
[
{"comp_id": model_name + "_" + str(x.id)}
| x.model_dump(
| x.model_dump_json(
exclude=[
"id",
"created_at",
Expand Down

0 comments on commit d691597

Please sign in to comment.