Skip to content

Commit 461d83d

Browse files
author
the-forest-tree
committed
doc: minor changes to description of fields
1 parent 79727b5 commit 461d83d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

hrflow/hrflow/schemas.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Location(BaseModel):
3838
_fields: t.Optional[LocationFields] = Field(
3939
None,
4040
alias="fields",
41-
description="other location attributes like country, country_code etc",
41+
description="Other location attributes like country, country_code etc",
4242
)
4343

4444

@@ -193,11 +193,11 @@ class Url(BaseModel):
193193

194194

195195
class ProfileInfo(BaseModel):
196-
full_name: t.Optional[str]
197-
first_name: t.Optional[str]
198-
last_name: t.Optional[str]
199-
email: t.Optional[str]
200-
phone: t.Optional[str]
196+
full_name: t.Optional[str] = Field(None, description="Profile full name")
197+
first_name: t.Optional[str] = Field(None, description="Profile first name")
198+
last_name: t.Optional[str] = Field(None, description="Profile last name")
199+
email: t.Optional[str] = Field(None, description="Profile email")
200+
phone: t.Optional[str] = Field(None, description="Profile phone number")
201201
date_birth: t.Optional[str] = Field(None, description="Profile date of birth")
202202
location: t.Optional[Location] = Field(None, description="Profile location object")
203203
urls: t.Optional[t.List[Url]] = Field(

0 commit comments

Comments
 (0)