Просмотр исходного кода

Implement GCSBucket.objects()

Test stats after this CL
========================
Ran 58 tests in 4491.154s

FAILED (SKIP=1, errors=12, failures=13)
Ehsan Chiniforooshan 8 лет назад
Родитель
Сommit
78975eee0d
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      cloudbridge/cloud/providers/gce/resources.py

+ 4 - 0
cloudbridge/cloud/providers/gce/resources.py

@@ -2038,6 +2038,10 @@ class GCSBucket(BaseBucket):
         """
         return self._bucket['name']
 
+    @property
+    def objects(self):
+        return self._object_container
+
     def delete(self, delete_contents=False):
         """
         Delete this bucket.