Skip to content

Commit

Permalink
Remove not-required parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed Oct 29, 2024
1 parent a7246cd commit 03f75c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ixmp4/server/rest/optimization/indexset.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ class DataInput(BaseModel):


@autodoc
@router.patch(
"/",
response_model=EnumerationOutput[api.IndexSet],
response_model_exclude={"_data_type"},
)
@router.patch("/", response_model=EnumerationOutput[api.IndexSet])
def query(
filter: OptimizationIndexSetFilter = Body(OptimizationIndexSetFilter()),
table: bool = Query(False),
Expand Down

0 comments on commit 03f75c2

Please sign in to comment.