Skip to content


Browse files Browse the repository at this point in the history
fix: fix deletion of buckets in production mode
  • Loading branch information
ErikBjare committed Apr 22, 2021
1 parent eba55f3 commit bbcd1d6
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 173 deletions.
4 changes: 2 additions & 2 deletions aw_client/
Expand Up @@ -263,8 +263,8 @@ def create_bucket(self, bucket_id: str, event_type: str, queued=False):
self._post(endpoint, data)

def delete_bucket(self, bucket_id: str):
def delete_bucket(self, bucket_id: str, force: bool = False):
self._delete("buckets/{}".format(bucket_id) + ("?force=1" if force else ""))

# @deprecated
def setup_bucket(self, bucket_id: str, event_type: str):
Expand Down

0 comments on commit bbcd1d6

Please sign in to comment.