Skip to content

Commit

Permalink
Include nulls in GET /notebooks/:id
Browse files Browse the repository at this point in the history
Always include the error fields, but leave them as null if not set. This
makes the errors slightly more predictable to find and observe.
  • Loading branch information
jonathansick committed Sep 10, 2024
1 parent a620299 commit 0f50d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noteburst/handlers/v1/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def post_nbexec(
"/notebooks/{job_id}",
summary="Get information about a notebook execution job",
response_model=NotebookResponse,
response_model_exclude_none=True,
response_model_exclude_none=False,
responses={404: {"description": "Not found", "model": ErrorModel}},
)
async def get_nbexec_job(
Expand Down

0 comments on commit 0f50d4a

Please sign in to comment.