Skip to content

Commit

Permalink
Add _kwargs to params
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 committed Nov 29, 2024
1 parent c360897 commit 150751b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/basyx/aas/adapter/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ 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 150751b

Please sign in to comment.