Skip to content

Commit

Permalink
Fixed default value error
Browse files Browse the repository at this point in the history
  • Loading branch information
Cbameron12 committed Jan 22, 2025
1 parent 0642f42 commit 8a3e739
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/endpoints/singlepoint_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
@router.get("/")
def get_singlepoint(
struct: Annotated[str, Query()],
arch: Annotated[str | None, Query("mace_mp")],
properties: Annotated[list[str] | None, Query(None)],
range_selector: Annotated[str | None, Query(":")],
arch: Annotated[str | None, Query()] = "mace_mp",
properties: Annotated[list[str] | None, Query()] = None,
range_selector: Annotated[str | None, Query()] = ":",
) -> dict[str, Any]:
"""
Endpoint to perform single point calculations and return results.
Expand Down

0 comments on commit 8a3e739

Please sign in to comment.