talentro-commons 0.19.13__tar.gz → 0.19.15__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.
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/PKG-INFO +1 -1
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/pyproject.toml +1 -1
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/google_storage.py +19 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/vacancies/taxanomy.py +2 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/README.md +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/acquisition/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/acquisition/dataclasses.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/acquisition/models.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/billing/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/billing/dataclasses.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/billing/models.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/candidates/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/candidates/dataclasses.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/candidates/models.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/constants.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/event.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/exceptions.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/general/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/general/dataclasses.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/general/models.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/iam/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/iam/dataclasses.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/iam/models.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/iam/types.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/integrations/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/integrations/dataclasses.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/integrations/models.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/billing.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/caching.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/clients.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/db.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/rabbitmq.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/util/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/util/attributes.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/util/enum.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/util/files.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/util/singleton.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/util/string.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/util/vacancy.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/vacancies/__init__.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/vacancies/dataclasses.py +0 -0
- {talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/vacancies/models.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "talentro-commons"
|
|
3
|
-
version = "0.19.
|
|
3
|
+
version = "0.19.15"
|
|
4
4
|
description = "This package contains all globally used code, services, models and data structures for Talentro"
|
|
5
5
|
authors = ["Emiel van Essen <emiel@marksmen.nl>"]
|
|
6
6
|
license = "Proprietary"
|
{talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/services/google_storage.py
RENAMED
|
@@ -148,3 +148,22 @@ class GoogleStorage(metaclass=SingletonMeta):
|
|
|
148
148
|
blob.upload_from_file(file.file)
|
|
149
149
|
|
|
150
150
|
return blob
|
|
151
|
+
|
|
152
|
+
def upload_filename(self, filename: str, bucket: BucketEnum, destination: FilePathEnum,
|
|
153
|
+
path_definitions: dict | None = None) -> Blob:
|
|
154
|
+
"""
|
|
155
|
+
Uploads a file to Google Storage
|
|
156
|
+
|
|
157
|
+
:param filename: The filename you want to upload.
|
|
158
|
+
:param bucket: The bucket you want to upload to.
|
|
159
|
+
:param destination: The file destination you want to upload to.
|
|
160
|
+
:param path_definitions: Key-value pair to declare the dynamic parts of the destination path.
|
|
161
|
+
:return: The public URL of the uploaded file.
|
|
162
|
+
:rtype: str
|
|
163
|
+
"""
|
|
164
|
+
# Get the bucket or create it if it doesn't exist.
|
|
165
|
+
blob = self._get_blob(bucket, destination, path_definitions)
|
|
166
|
+
|
|
167
|
+
blob.upload_from_filename(filename)
|
|
168
|
+
|
|
169
|
+
return blob
|
|
@@ -160,6 +160,8 @@ class Education(StrEnum):
|
|
|
160
160
|
UPPER_SECONDARY = "UPPER_SECONDARY"
|
|
161
161
|
POST_SECONDARY_NON_TERTIARY = "POST_SECONDARY_NON_TERTIARY"
|
|
162
162
|
SHORT_CYCLE_TERTIARY = "SHORT_CYCLE_TERTIARY"
|
|
163
|
+
CERTIFICATE = "CERTIFICATE"
|
|
164
|
+
ASSOCIATE = "ASSOCIATE"
|
|
163
165
|
BACHELOR = "BACHELOR"
|
|
164
166
|
MASTER = "MASTER"
|
|
165
167
|
DOCTORATE = "DOCTORATE"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/acquisition/dataclasses.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/candidates/dataclasses.py
RENAMED
|
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
|
{talentro_commons-0.19.13 → talentro_commons-0.19.15}/src/talentro/integrations/dataclasses.py
RENAMED
|
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
|