talentro-commons 0.21.4__py3-none-any.whl → 0.21.5__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/util/vacancy.py CHANGED
@@ -11,7 +11,7 @@ def generate_vacancy_hash(vacancy_data: VacancyModel) -> str:
11
11
  key: data[key]
12
12
  for key in [
13
13
  "title", "description", "job_site_url", "company_name",
14
- "parent_company_name", "remote_type", "publish_date", "expiration_date",
14
+ "remote_type", "publish_date", "expiration_date",
15
15
  "last_updated_date", "category", "experience", "education", "hours_fte",
16
16
  "hours_min", "hours_max", "location_address", "location_zipcode",
17
17
  "location_city", "location_state", "location_country", "salary_min",
@@ -174,7 +174,6 @@ class RawVacancy(BaseModel):
174
174
 
175
175
  # Optional fields
176
176
  description: str | None = None
177
- parent_company_name: str | None = None
178
177
  expiration_date: datetime | None = None
179
178
  last_updated_date: datetime | None = None
180
179
 
@@ -198,7 +197,6 @@ class RawVacancy(BaseModel):
198
197
  description=self.description,
199
198
  job_site_url=self.job_site_url,
200
199
  company_name=self.company_name,
201
- parent_company_name=self.parent_company_name,
202
200
  remote_type=self.remote_type.value if self.remote_type else None,
203
201
  contract_type=self.contract_type.value if self.contract_type else None,
204
202
  publish_date=self.publish_date,
@@ -340,7 +338,6 @@ class VacancyInfo(RawVacancy):
340
338
  salary=salary,
341
339
  recruiter=recruiter,
342
340
 
343
- parent_company_name=model.parent_company_name,
344
341
  remote_type=remote_type,
345
342
  video_url=model.video_url,
346
343
  expiration_date=model.expiration_date,
@@ -59,7 +59,6 @@ class Vacancy(VacanciesOrganizationModel, table=True):
59
59
  status: str = Field(default="ACTIVE")
60
60
  job_site_url: str = Field()
61
61
  company_name: str = Field(index=True)
62
- parent_company_name: Optional[str] = Field()
63
62
  remote_type: Optional[str] = Field()
64
63
  publish_date: Optional[datetime] = Field()
65
64
  expiration_date: Optional[datetime] = Field()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: talentro-commons
3
- Version: 0.21.4
3
+ Version: 0.21.5
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
@@ -36,11 +36,11 @@ talentro/util/enum.py,sha256=YftsoJKnrn8HAjA2Q1tqIYBMrNnlq6m1b34N8hfykbE,155
36
36
  talentro/util/files.py,sha256=0pfISW89XC5kNyFooHebjVdmMnP-L49uIpKY5DjGuN4,176
37
37
  talentro/util/singleton.py,sha256=nM5XgRa75xF6gX4BZKlkvjtZJQ3OFFEsANLVLnsyxmM,635
38
38
  talentro/util/string.py,sha256=_ZHZIvcnHWFqhqSnYGdmSQ9EE_eNySftkfIy-S7myiM,546
39
- talentro/util/vacancy.py,sha256=8_0NQ8D54789z975xpjUa_lVyfD6_uSXaUgH_sGLUTc,1057
39
+ talentro/util/vacancy.py,sha256=igBZwrFewLLkxxh-j5w08yLo2c82iuG9iUOxxNTNWBY,1034
40
40
  talentro/vacancies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- talentro/vacancies/dataclasses.py,sha256=B_yrJAyHoPsY2s6whBnVkWEM_nWX78mXyzrW0v6Yh70,14979
42
- talentro/vacancies/models.py,sha256=jTEmNGaNkI6oQvFXQQ3yZMgF88c6ouv_rGV7jB8w82A,4838
41
+ talentro/vacancies/dataclasses.py,sha256=Fa-2fPt7U3NZZ2-9RTduIou7h9H_XIMzej3kT9mlzKE,14819
42
+ talentro/vacancies/models.py,sha256=-dAzTQa6bYO6-vUkOKco1CkNrYsXQPQEaffF-UN7jhQ,4789
43
43
  talentro/vacancies/taxanomy.py,sha256=B6DMq9Wbs0aXFwD9aZveSlLwAC9eq1iCO_KM-FmrV7M,6384
44
- talentro_commons-0.21.4.dist-info/METADATA,sha256=wc8EllbDVenWeCOq2ljHGiuD_fL9sMPoDc7kGxIpNGU,1507
45
- talentro_commons-0.21.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
46
- talentro_commons-0.21.4.dist-info/RECORD,,
44
+ talentro_commons-0.21.5.dist-info/METADATA,sha256=CoMvkXvba-9ka-UHtlRYtPno7gYSujan-PdpKQW76o8,1507
45
+ talentro_commons-0.21.5.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
46
+ talentro_commons-0.21.5.dist-info/RECORD,,