MCPcopy
hub / github.com/celery/celery / _get_blob

Method _get_blob

celery/backends/gcs.py:139–141  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

137 return self.client.bucket(self.bucket_name)
138
139 def _get_blob(self, key):
140 key_bucket_path = f'{self.base_path}/{key}' if self.base_path else key
141 return self.bucket.blob(key_bucket_path)
142
143 def _is_bucket_lifecycle_rule_exists(self):
144 bucket = self.bucket

Callers 4

getMethod · 0.95
setMethod · 0.95
deleteMethod · 0.95
test_get_blobMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_get_blobMethod · 0.64