Skip to content

Commit

Permalink
fix: wrong endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu authored Sep 12, 2024
1 parent 3c1cb2a commit 37f0279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async def get_task_status(task_id: str) -> TaskStatus:


@app.get("/exceptions/{task_id}")
async def get_task_exceptions(task_id: str) -> dict:
async def get_task_exceptions(task_id: str) -> list[str]:
"""
Fetch the exception information for a particular compilation task
"""
Expand All @@ -156,7 +156,7 @@ async def get_task_exceptions(task_id: str) -> dict:
# NOTE: `response_model=None` so that we only use our own validation
# from ethpm_types.
@app.get("/artifacts/{task_id}", response_model=None)
async def get_compiled_artifact(task_id: str)-> list[str]:
async def get_compiled_artifact(task_id: str) -> dict:
"""
Fetch the compiled artifact data in ethPM v3 format for a particular task
"""
Expand Down

0 comments on commit 37f0279

Please sign in to comment.