talentro-commons 0.21.1__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.
- talentro/vacancies/dataclasses.py +0 -3
- talentro/vacancies/models.py +1 -1
- {talentro_commons-0.21.1.dist-info → talentro_commons-0.21.2.dist-info}/METADATA +1 -1
- {talentro_commons-0.21.1.dist-info → talentro_commons-0.21.2.dist-info}/RECORD +5 -5
- {talentro_commons-0.21.1.dist-info → talentro_commons-0.21.2.dist-info}/WHEEL +0 -0
|
@@ -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,
|
talentro/vacancies/models.py
CHANGED
|
@@ -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()
|
|
@@ -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=
|
|
42
|
-
talentro/vacancies/models.py,sha256=
|
|
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.
|
|
45
|
-
talentro_commons-0.21.
|
|
46
|
-
talentro_commons-0.21.
|
|
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,,
|
|
File without changes
|