Skip to content

Commit bb78d3b

Browse files
committed
add new fields to resume parser
add birthday and interests fields
1 parent d24f3d8 commit bb78d3b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ jobs:
6060
id: setup-uv
6161
with:
6262
enable-cache: true
63-
cache-prefix: ${{ matrix.python-version }}
6463

6564
- name: Install uv and set the python version
6665
uses: astral-sh/setup-uv@v5

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
id: setup-uv
3535
with:
3636
enable-cache: true
37-
cache-prefix: ${{ matrix.python-version }}
3837

3938
- name: Install uv and set the python version
4039
uses: astral-sh/setup-uv@v5

magicalapi/types/resume_parser.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Basic(BaseModelValidated, OptionalModel):
3333
university: str
3434
graduation_year: str
3535
majors: str
36+
birthday: str
3637

3738
class ProjectExperience(BaseModelValidated, OptionalModel):
3839
title: str | None
@@ -63,6 +64,10 @@ class Skill(BaseModelValidated, OptionalModel):
6364
name: str
6465

6566

67+
class Intereset(BaseModelValidated, OptionalModel):
68+
name: str
69+
70+
6671
class ResumeParser(BaseModelValidated):
6772
basic: Resume.Basic
6873
summary: str | None
@@ -72,6 +77,7 @@ class ResumeParser(BaseModelValidated):
7277
certifications: list[Resume.Certification]
7378
languages: list[Resume.Language]
7479
skills: list[Resume.Skill]
80+
interests: list[Intereset]
7581

7682

7783
class ResumeParserResponse(BaseResponse):

0 commit comments

Comments
 (0)