Skip to content

Commit

Permalink
Adding request
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Sánchez committed May 26, 2021
1 parent 78e6704 commit b801a9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fast_agave/blueprints/rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ def wrapper_resource_class(cls):

@self.delete(path + '/{id}')
@copy_attributes(cls)
async def delete(id: str):
async def delete(id: str, request: Request):
obj = await self.retrieve_object(cls, id)
return await cls.delete(obj)
return await cls.delete(obj, request)

""" PATCH /resource/{id}
Enable PATCH method if Resource.update method exist. It validates
Expand Down
2 changes: 1 addition & 1 deletion fast_agave/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.2.dev5'
__version__ = '0.0.2.dev6'

0 comments on commit b801a9e

Please sign in to comment.