Skip to content

Commit 7a90828

Browse files
authored
Merge pull request #29 from huntflow/INT-809-fix_Vacancy_model
[INT-809] - Add vacancy_frame_fill_quota to the Vacancy model.
2 parents 9755bcd + 6d69632 commit 7a90828

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

huntflow_webhook_models/common_models/vacancy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from pydantic import BaseModel, Field
55

6-
from huntflow_webhook_models.common_models.hf_base import DivisionItem
6+
from huntflow_webhook_models.common_models.hf_base import DivisionItem, VacancyQuotaItem
77
from huntflow_webhook_models.consts import VacancyState
88

99

@@ -101,6 +101,10 @@ class Vacancy(BaseModel):
101101
description="Additional vacancy fields",
102102
examples=[{"experience": "without"}],
103103
)
104+
vacancy_frame_fill_quota: Optional[VacancyQuotaItem] = Field(
105+
None,
106+
description="Vacancy frame fill quota",
107+
)
104108

105109

106110
class VacancyCloseReason(BaseModel):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "huntflow-webhook-models"
4-
version = "0.1.12"
4+
version = "0.1.13"
55
description = "Huntflow webhooks requests data models"
66
authors = [
77
{name = "Developers huntflow", email = "[email protected]"},

0 commit comments

Comments
 (0)