Skip to content

Commit

Permalink
Removed route_prefix from options as it's not supported anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Movchan committed Nov 13, 2024
1 parent 165a7e3 commit a91b028
Show file tree
Hide file tree
Showing 2 changed files with 788 additions and 1,053 deletions.
2 changes: 1 addition & 1 deletion aana/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def get_deployment_app(self, name: str) -> Application:
KeyError: If the deployment is not found.
"""
if name in self.deployments:
return self.deployments[name].options(route_prefix=f"/{name}").bind()
return self.deployments[name].bind()
else:
raise KeyError(f"Deployment {name} not found.") # noqa: TRY003

Expand Down
Loading

0 comments on commit a91b028

Please sign in to comment.