talentro-commons 0.21.0__py3-none-any.whl → 0.21.2__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.
@@ -29,8 +29,10 @@ class FilePathEnum(StrEnum):
29
29
  IAM_PROFILE_PICTURE = "iam/users/{user_id}/profile/profile_picture.{extension}"
30
30
 
31
31
  # Candidates
32
- CANDIDATES_CANDIDATE_CV_FILE = "organizations/{organization_id}/cand_{candidate_id}/cv/{file_name}"
33
- CANDIDATES_CANDIDATE_CV_FOLDER = "organizations/{organization_id}/cand_{candidate_id}/cv/"
32
+ CANDIDATES_APPLICATION_CV_FILE = "organizations/{organization_id}/cand_{candidate_id}/appl_{application_id}/cv/{file_name}"
33
+ CANDIDATES_APPLICATION_MOTIVATION_FILE = "organizations/{organization_id}/cand_{candidate_id}/appl_{application_id}/motivation/{file_name}"
34
+ CANDIDATES_APPLICATION_FOLDER = "organizations/{organization_id}/cand_{candidate_id}/appl_{application_id}/"
35
+ CANDIDATES_CANDIDATE_FOLDER = "organizations/{organization_id}/cand_{candidate_id}/"
34
36
 
35
37
  # DPG
36
38
  SYSTEM_DPG_SYNC = "dpg/last_sync.txt"
@@ -174,7 +174,6 @@ class RawVacancy(BaseModel):
174
174
 
175
175
  # Optional fields
176
176
  description: str | None = None
177
- status: str | None = None
178
177
  parent_company_name: str | None = None
179
178
  expiration_date: datetime | None = None
180
179
  last_updated_date: datetime | None = None
@@ -197,7 +196,6 @@ class RawVacancy(BaseModel):
197
196
  requisition_id=self.requisition_id,
198
197
  title=self.title,
199
198
  description=self.description,
200
- status=self.status,
201
199
  job_site_url=self.job_site_url,
202
200
  company_name=self.company_name,
203
201
  parent_company_name=self.parent_company_name,
@@ -342,7 +340,6 @@ class VacancyInfo(RawVacancy):
342
340
  salary=salary,
343
341
  recruiter=recruiter,
344
342
 
345
- status=model.status,
346
343
  parent_company_name=model.parent_company_name,
347
344
  remote_type=remote_type,
348
345
  video_url=model.video_url,
@@ -56,7 +56,7 @@ class Vacancy(VacanciesOrganizationModel, table=True):
56
56
  requisition_id: str = Field(index=True)
57
57
  title: str = Field(index=True)
58
58
  description: Optional[str] = Field()
59
- status: str = Field()
59
+ status: str = Field(default_factory=lambda: "ACTIVE", default="ACTIVE")
60
60
  job_site_url: str = Field()
61
61
  company_name: str = Field(index=True)
62
62
  parent_company_name: Optional[str] = Field()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: talentro-commons
3
- Version: 0.21.0
3
+ Version: 0.21.2
4
4
  Summary: This package contains all globally used code, services, models and data structures for Talentro
5
5
  License: Proprietary
6
6
  Author: Emiel van Essen
@@ -28,7 +28,7 @@ talentro/services/billing.py,sha256=8pX57-tP7HyRqB_afB-CpEJXiZzMTJyjLyDI3vLvQsI,
28
28
  talentro/services/caching.py,sha256=mmjhXAMJ_g8D8cJqn15YqZ7ST-G5lD9MS-PmlowI7pU,2921
29
29
  talentro/services/clients.py,sha256=vluOrdYdDAQLyGR9-EmogLjA9OUlJtHy0tYD9LhwxKg,2174
30
30
  talentro/services/db.py,sha256=cnKCrYG7GwIu7ZZhA25D-yaXaiCJqPpzfcanWquyrBY,822
31
- talentro/services/google_storage.py,sha256=5r5uiDZD-76Dylc7yyRG5Ni4XNTc9xK8rC0glCRG8_8,6014
31
+ talentro/services/google_storage.py,sha256=RNfc-m0qkcHr52r2Y9l_ZKkdp_TIlBqmkS532hdN-Cs,6289
32
32
  talentro/services/rabbitmq.py,sha256=CMz3XSghfA0bZnE02kn4bZ1KWXgCtRcm3aV7pkjyt_Q,10787
33
33
  talentro/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  talentro/util/attributes.py,sha256=PgJnn9LMtHkiNIaMov2HQt5944HweD6gRlAHBZrJGPA,448
@@ -38,9 +38,9 @@ talentro/util/singleton.py,sha256=nM5XgRa75xF6gX4BZKlkvjtZJQ3OFFEsANLVLnsyxmM,63
38
38
  talentro/util/string.py,sha256=_ZHZIvcnHWFqhqSnYGdmSQ9EE_eNySftkfIy-S7myiM,546
39
39
  talentro/util/vacancy.py,sha256=mZ_ruL_YPsbJjaUEti78_6TumXhOGAY7Taa2JvXkTkg,1067
40
40
  talentro/vacancies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- talentro/vacancies/dataclasses.py,sha256=E6H5fsZH4IwtBFSLDolzF6u39tEIrANtWiNVoB65P0c,15074
42
- talentro/vacancies/models.py,sha256=GoXr71CNzU6csf8gdmv84etb3Rm-Cdfigp1yqPI_jjQ,4822
41
+ talentro/vacancies/dataclasses.py,sha256=B_yrJAyHoPsY2s6whBnVkWEM_nWX78mXyzrW0v6Yh70,14979
42
+ talentro/vacancies/models.py,sha256=N7Z3spPs5iuxSttqCrFp6lR3G7hEuchLK2ryGEYPO2o,4872
43
43
  talentro/vacancies/taxanomy.py,sha256=B6DMq9Wbs0aXFwD9aZveSlLwAC9eq1iCO_KM-FmrV7M,6384
44
- talentro_commons-0.21.0.dist-info/METADATA,sha256=KGbih3HUJrFA3kGD3M714l6OKM6Vf34Xj0i5Wulwm00,1507
45
- talentro_commons-0.21.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
46
- talentro_commons-0.21.0.dist-info/RECORD,,
44
+ talentro_commons-0.21.2.dist-info/METADATA,sha256=bsagFjzqNFcEadGpdpJNThod0PZtpBvJDj__cGB4VNk,1507
45
+ talentro_commons-0.21.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
46
+ talentro_commons-0.21.2.dist-info/RECORD,,