Skip to content

Commit 0e4c89b

Browse files
chore: add missing docstrings
1 parent c7b0dbe commit 0e4c89b

27 files changed

+100
-0
lines changed

src/finch/types/account_update_event.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ class AccountUpdateEventDataAuthenticationMethodSupportedFieldsPayment(BaseModel
393393

394394

395395
class AccountUpdateEventDataAuthenticationMethodSupportedFields(BaseModel):
396+
"""The supported data fields returned by our HR and payroll endpoints"""
397+
396398
company: Optional[AccountUpdateEventDataAuthenticationMethodSupportedFieldsCompany] = None
397399

398400
directory: Optional[AccountUpdateEventDataAuthenticationMethodSupportedFieldsDirectory] = None

src/finch/types/connect/session_new_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ class SessionNewParams(TypedDict, total=False):
5656

5757

5858
class Integration(TypedDict, total=False):
59+
"""Integration configuration for the connect session"""
60+
5961
provider: Required[str]
6062
"""The provider to integrate with"""
6163

src/finch/types/hris/benefit_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ class CompanyContributionTier(TypedDict, total=False):
4040

4141

4242
class CompanyContribution(TypedDict, total=False):
43+
"""The company match for this benefit."""
44+
4345
tiers: Required[Iterable[CompanyContributionTier]]
4446

4547
type: Required[Literal["match"]]

src/finch/types/hris/benefits_support.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111

1212

1313
class BenefitsSupport(BaseModel):
14+
"""Each benefit type and their supported features.
15+
16+
If the benefit type is not supported, the property will be null
17+
"""
18+
1419
commuter: Optional[BenefitFeaturesAndOperations] = None
1520

1621
custom_post_tax: Optional[BenefitFeaturesAndOperations] = None

src/finch/types/hris/company/company.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ class Account(BaseModel):
3030

3131

3232
class DepartmentParent(BaseModel):
33+
"""The parent department, if present."""
34+
3335
name: Optional[str] = None
3436
"""The parent department's name."""
3537

@@ -43,6 +45,8 @@ class Department(BaseModel):
4345

4446

4547
class Entity(BaseModel):
48+
"""The entity type object."""
49+
4650
subtype: Optional[Literal["s_corporation", "c_corporation", "b_corporation"]] = None
4751
"""The tax payer subtype of the company."""
4852

src/finch/types/hris/company/pay_statement_item/rule_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ class RuleCreateParams(TypedDict, total=False):
3030

3131

3232
class Attributes(TypedDict, total=False):
33+
"""Specifies the fields to be applied when the condition is met."""
34+
3335
metadata: Dict[str, object]
3436
"""The metadata to be attached in the entity.
3537

src/finch/types/hris/company/pay_statement_item/rule_create_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111

1212
class Attributes(BaseModel):
13+
"""Specifies the fields to be applied when the condition is met."""
14+
1315
metadata: Optional[Dict[str, object]] = None
1416
"""The metadata to be attached in the entity.
1517

src/finch/types/hris/company/pay_statement_item/rule_delete_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111

1212
class Attributes(BaseModel):
13+
"""Specifies the fields to be applied when the condition is met."""
14+
1315
metadata: Optional[Dict[str, object]] = None
1416
"""The metadata to be attached in the entity.
1517

src/finch/types/hris/company/pay_statement_item/rule_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111

1212
class Attributes(BaseModel):
13+
"""Specifies the fields to be applied when the condition is met."""
14+
1315
metadata: Optional[Dict[str, object]] = None
1416
"""The metadata to be attached in the entity.
1517

src/finch/types/hris/company/pay_statement_item/rule_update_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111

1212
class Attributes(BaseModel):
13+
"""Specifies the fields to be applied when the condition is met."""
14+
1315
metadata: Optional[Dict[str, object]] = None
1416
"""The metadata to be attached in the entity.
1517

0 commit comments

Comments
 (0)