Skip to content

Commit bead8c1

Browse files
stainless-botRobertCraigie
authored andcommitted
chore(internal): minor import restructuring (#57)
1 parent b9506e9 commit bead8c1

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/finch/types/ats/application.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from datetime import datetime
55

66
from ..._models import BaseModel
7-
from ...types.ats import stage
7+
from ...types.ats.stage import Stage
88

99
__all__ = ["Application", "RejectedReason"]
1010

@@ -26,4 +26,4 @@ class Application(BaseModel):
2626

2727
rejected_reason: Optional[RejectedReason]
2828

29-
stage: Optional[stage.Stage]
29+
stage: Optional[Stage]

src/finch/types/hris/individuals/employment_data.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55

66
from pydantic import Field as FieldInfo
77

8-
from ....types import income, location
8+
from ....types import income
99
from ...._models import BaseModel
10+
from ....types.income import Income
11+
from ....types.location import Location
1012

1113
__all__ = ["EmploymentData", "Department", "Employment", "Manager"]
1214

@@ -54,7 +56,7 @@ class EmploymentData(BaseModel):
5456
income_history: Optional[List[Optional[income.Income]]]
5557
"""The array of income history."""
5658

57-
income: Optional[income.Income]
59+
income: Optional[Income]
5860
"""The employee's income as reported by the provider.
5961
6062
This may not always be annualized income, but may be in units of bi-weekly,
@@ -67,7 +69,7 @@ class EmploymentData(BaseModel):
6769
last_name: Optional[str]
6870
"""The legal last name of the individual."""
6971

70-
location: Optional[location.Location]
72+
location: Optional[Location]
7173

7274
manager: Optional[Manager]
7375
"""The manager object representing the manager of the individual within the org."""

src/finch/types/hris/pay_statement_response_body.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
from typing import List, Optional
44

5-
from ...types import paging
65
from ..._models import BaseModel
76
from ...types.hris import pay_statement
7+
from ...types.paging import Paging
88

99
__all__ = ["PayStatementResponseBody"]
1010

1111

1212
class PayStatementResponseBody(BaseModel):
13-
paging: Optional[paging.Paging]
13+
paging: Optional[Paging]
1414

1515
pay_statements: Optional[List[pay_statement.PayStatement]]
1616
"""The array of pay statements for the current payment."""

0 commit comments

Comments
 (0)