talentro-commons 0.19.11__py3-none-any.whl → 0.19.12__py3-none-any.whl
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.
- talentro/services/google_storage.py +4 -4
- {talentro_commons-0.19.11.dist-info → talentro_commons-0.19.12.dist-info}/METADATA +1 -1
- {talentro_commons-0.19.11.dist-info → talentro_commons-0.19.12.dist-info}/RECORD +4 -4
- {talentro_commons-0.19.11.dist-info → talentro_commons-0.19.12.dist-info}/WHEEL +0 -0
|
@@ -95,13 +95,13 @@ class GoogleStorage(metaclass=SingletonMeta):
|
|
|
95
95
|
blob = bucket.blob(filled_destination_path)
|
|
96
96
|
return blob
|
|
97
97
|
|
|
98
|
-
def get_blob(self, bucket: BucketEnum, destination: FilePathEnum, path_definitions: dict) -> Blob:
|
|
98
|
+
def get_blob(self, bucket: BucketEnum, destination: FilePathEnum, path_definitions: dict | None = None) -> Blob:
|
|
99
99
|
"""Deletes a blob from the bucket."""
|
|
100
100
|
blob = self._get_blob(bucket, destination, path_definitions)
|
|
101
101
|
blob.reload()
|
|
102
102
|
return blob
|
|
103
103
|
|
|
104
|
-
def delete_file(self, bucket: BucketEnum, destination: FilePathEnum, path_definitions: dict) -> bool:
|
|
104
|
+
def delete_file(self, bucket: BucketEnum, destination: FilePathEnum, path_definitions: dict | None = None) -> bool:
|
|
105
105
|
"""Deletes a blob from the bucket."""
|
|
106
106
|
try:
|
|
107
107
|
blob = self._get_blob(bucket, destination, path_definitions)
|
|
@@ -114,7 +114,7 @@ class GoogleStorage(metaclass=SingletonMeta):
|
|
|
114
114
|
traceback.print_exc()
|
|
115
115
|
return False
|
|
116
116
|
|
|
117
|
-
def delete_folder(self, bucket: BucketEnum, destination: FilePathEnum, path_definitions: dict) -> bool:
|
|
117
|
+
def delete_folder(self, bucket: BucketEnum, destination: FilePathEnum, path_definitions: dict | None = None) -> bool:
|
|
118
118
|
"""Deletes a blob from the bucket."""
|
|
119
119
|
try:
|
|
120
120
|
bucket = self._get_bucket(bucket)
|
|
@@ -131,7 +131,7 @@ class GoogleStorage(metaclass=SingletonMeta):
|
|
|
131
131
|
return False
|
|
132
132
|
|
|
133
133
|
def upload_file(self, file: UploadFile, bucket: BucketEnum, destination: FilePathEnum,
|
|
134
|
-
path_definitions: dict) -> Blob:
|
|
134
|
+
path_definitions: dict | None = None) -> Blob:
|
|
135
135
|
"""
|
|
136
136
|
Uploads a file to Google Storage
|
|
137
137
|
|
|
@@ -26,7 +26,7 @@ talentro/services/billing.py,sha256=Y2UaQK8lSRa3G8lTZKqLi4t-Jc-EWd7Yn15nR9HOAx8,
|
|
|
26
26
|
talentro/services/caching.py,sha256=mmjhXAMJ_g8D8cJqn15YqZ7ST-G5lD9MS-PmlowI7pU,2921
|
|
27
27
|
talentro/services/clients.py,sha256=vluOrdYdDAQLyGR9-EmogLjA9OUlJtHy0tYD9LhwxKg,2174
|
|
28
28
|
talentro/services/db.py,sha256=cnKCrYG7GwIu7ZZhA25D-yaXaiCJqPpzfcanWquyrBY,822
|
|
29
|
-
talentro/services/google_storage.py,sha256=
|
|
29
|
+
talentro/services/google_storage.py,sha256=UDm3GDHGrYUV0mRK_1zAaagokH8F_wGhNhPyEgpEScw,5231
|
|
30
30
|
talentro/services/rabbitmq.py,sha256=RNIsLqXM48z5SRRqJ3iWqhRp6FL9TwRwEeii_m8-xDo,6854
|
|
31
31
|
talentro/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
32
|
talentro/util/attributes.py,sha256=PgJnn9LMtHkiNIaMov2HQt5944HweD6gRlAHBZrJGPA,448
|
|
@@ -39,6 +39,6 @@ talentro/vacancies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
|
39
39
|
talentro/vacancies/dataclasses.py,sha256=E6H5fsZH4IwtBFSLDolzF6u39tEIrANtWiNVoB65P0c,15074
|
|
40
40
|
talentro/vacancies/models.py,sha256=GoXr71CNzU6csf8gdmv84etb3Rm-Cdfigp1yqPI_jjQ,4822
|
|
41
41
|
talentro/vacancies/taxanomy.py,sha256=K3f0yD5g-oxhLXSYNY4WSsGzBfBIb6ngsTDVNGbqO30,6324
|
|
42
|
-
talentro_commons-0.19.
|
|
43
|
-
talentro_commons-0.19.
|
|
44
|
-
talentro_commons-0.19.
|
|
42
|
+
talentro_commons-0.19.12.dist-info/METADATA,sha256=qxFyRelh2Sff-nm5okPzWydybJn3ffVYHwkGiy9AzKQ,1508
|
|
43
|
+
talentro_commons-0.19.12.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
44
|
+
talentro_commons-0.19.12.dist-info/RECORD,,
|
|
File without changes
|