Skip to content

Commit

Permalink
One line change to use consistently pydantic v1 .json()
Browse files Browse the repository at this point in the history
  • Loading branch information
jterry64 authored Mar 5, 2025
1 parent 2a63a3d commit 3fc362c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/datamart/land.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ async def _get_resource(resource_id):
async def _save_pending_resource(resource_id):
pending_resource = DataMartResource(status="pending")
with open(f"/tmp/{resource_id}", "w") as f:
f.write(pending_resource.model_dump_json())
f.write(pending_resource.json())

0 comments on commit 3fc362c

Please sign in to comment.