Skip to content

Commit bab54c9

Browse files
authored
Bugfix: Add _kwargs to params (#346)
otherwise some args like "response_t" will be passed, which leads to errors
1 parent f97c031 commit bab54c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/basyx/aas/adapter/http.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,8 @@ def delete_aas_submodel_refs_submodel(self, request: Request, url_args: Dict, re
842842
aas.commit()
843843
return response_t()
844844

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

0 commit comments

Comments
 (0)