MCPcopy Create free account
hub / github.com/diffgram/diffgram / __list_buckets

Method __list_buckets

shared/connection/s3_connector.py:470–475  ·  view source on GitHub ↗
(self, opts)

Source from the content-addressed store, hash-verified

468 @with_connection
469 @with_s3_exception_handler
470 def __list_buckets(self, opts):
471 response = self.connection_client.list_buckets()
472 result = []
473 for bucket in response['Buckets']:
474 result.append(bucket['Name'])
475 return {'result': result}
476
477 @with_connection
478 @with_s3_exception_handler

Callers 2

test_connectionMethod · 0.95
fetch_dataMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_connectionMethod · 0.76