You've already forked RekomenciBackend
fix(): fix e2e ml tests, handle no entries for vacancies
This commit is contained in:
@@ -42,7 +42,7 @@ class PredictSalaryRequestModel(BaseModel):
|
||||
key_skills: list[str] = Field(
|
||||
description="List of key skills from resume", examples=[["Python", "FastAPI", "PostgreSQL"]]
|
||||
)
|
||||
vacancies: list[VacancyInputModel] = Field(description="List of relevant vacancies", examples=[[]])
|
||||
vacancies: list[VacancyInputModel] = Field(description="List of relevant vacancies", examples=[[]], min_length=0)
|
||||
|
||||
model_config = {
|
||||
"json_schema_extra": {
|
||||
|
||||
Reference in New Issue
Block a user