Skip to content

Commit

Permalink
Bugfix: Add _kwargs to params (#346)
Browse files Browse the repository at this point in the history
otherwise some args like "response_t"
will be passed, which leads to errors
  • Loading branch information
zrgt authored Dec 3, 2024
1 parent f97c031 commit bab54c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/basyx/aas/adapter/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,8 @@ def delete_aas_submodel_refs_submodel(self, request: Request, url_args: Dict, re
aas.commit()
return response_t()

def aas_submodel_refs_redirect(self, request: Request, url_args: Dict, map_adapter: MapAdapter) -> Response:
def aas_submodel_refs_redirect(self, request: Request, url_args: Dict, map_adapter: MapAdapter,
**_kwargs) -> Response:
aas = self._get_shell(url_args)
# the following makes sure the reference exists
self._get_submodel_reference(aas, url_args["submodel_id"])
Expand Down

0 comments on commit bab54c9

Please sign in to comment.