rbx 3.19.1.dev170__tar.gz → 3.19.1.dev171__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/PKG-INFO +1 -1
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/pyproject.toml +2 -2
- rbx-3.19.1.dev171/rbx/__init__.py +1 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/gcp/storage.py +16 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx.egg-info/PKG-INFO +1 -1
- rbx-3.19.1.dev170/rbx/__init__.py +0 -1
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/LICENSE +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/README.md +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/auth/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/auth/decorators.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/auth/id_token.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/auth/keystore.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/auth/mock.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/aws/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/aws/s3.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/buildtools/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/buildtools/cli.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/buildtools/tasks/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/buildtools/tasks/ec2.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/buildtools/tasks/image.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/buildtools/tasks/misc.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/clients/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/clients/adsquare.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/clients/broadsign.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/clients/oxr.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/clients/panels.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/clients/reporting.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/clients/retry.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/exceptions.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/gcp/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/gcp/cloud_tasks.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/gcp/pubsub.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/logging.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/settings.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/utils/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/utils/mdm.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/utils/vast.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/web/__init__.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx/web/handlers.py +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx.egg-info/SOURCES.txt +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx.egg-info/dependency_links.txt +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx.egg-info/entry_points.txt +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx.egg-info/requires.txt +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/rbx.egg-info/top_level.txt +0 -0
- {rbx-3.19.1.dev170 → rbx-3.19.1.dev171}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "rbx"
|
|
7
|
-
version = "3.19.1.
|
|
7
|
+
version = "3.19.1.dev171"
|
|
8
8
|
description = "A collection of common tools for Scoota services."
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "The Scoota Engineering Team", email = "engineering@scoota.com" }
|
|
@@ -80,7 +80,7 @@ homepage = "https://github.com/rockabox/rbx"
|
|
|
80
80
|
repository = "https://github.com/rockabox/rbx.git"
|
|
81
81
|
|
|
82
82
|
[tool.bumpversion]
|
|
83
|
-
current_version = "3.19.1.
|
|
83
|
+
current_version = "3.19.1.dev171"
|
|
84
84
|
commit = true
|
|
85
85
|
parse = """
|
|
86
86
|
(?P<major>\\d+)\\.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.19.1.dev171"
|
|
@@ -48,3 +48,19 @@ class Storage:
|
|
|
48
48
|
blob.make_public()
|
|
49
49
|
|
|
50
50
|
return blob
|
|
51
|
+
|
|
52
|
+
def delete(self, location):
|
|
53
|
+
"""Delete a file from the storage.
|
|
54
|
+
|
|
55
|
+
Args:
|
|
56
|
+
location: The path to the file to delete.
|
|
57
|
+
|
|
58
|
+
Returns:
|
|
59
|
+
bool: True if the file was deleted, False if it didn't exist.
|
|
60
|
+
"""
|
|
61
|
+
blob = self.bucket.blob(location.lstrip("/"))
|
|
62
|
+
if blob.exists():
|
|
63
|
+
logger.debug(f'Deleting from storage: "{blob.name}"')
|
|
64
|
+
blob.delete()
|
|
65
|
+
return True
|
|
66
|
+
return False
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.19.1.dev170"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|