Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wal-e/wal-e
/ _clean
Function
_clean
tests/s3_integration_help.py:49–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
conn = cinfo.connect(creds)
48
49
def
_clean():
50
bucket = conn.get_bucket(bucket_name)
51
bucket.delete_keys(key.name
for
key in bucket.list())
52
53
try
:
54
conn.create_bucket(bucket_name, location=Location.USWest)
Callers
1
prepare_s3_default_test_bucket
Function · 0.70
Calls
3
get_bucket
Method · 0.80
delete_keys
Method · 0.80
list
Method · 0.80
Tested by
no test coverage detected