From b5207ff6dfa2014ae454abf59725210e438ba8de Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Wed, 9 Aug 2023 10:27:45 +0000 Subject: [PATCH] chore(internal): minor import restructuring --- src/finch/types/ats/application.py | 4 ++-- src/finch/types/hris/individuals/employment_data.py | 8 +++++--- src/finch/types/hris/pay_statement_response_body.py | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/finch/types/ats/application.py b/src/finch/types/ats/application.py index c63542c7..7cca091d 100644 --- a/src/finch/types/ats/application.py +++ b/src/finch/types/ats/application.py @@ -4,7 +4,7 @@ from datetime import datetime from ..._models import BaseModel -from ...types.ats import stage +from ...types.ats.stage import Stage __all__ = ["Application", "RejectedReason"] @@ -26,4 +26,4 @@ class Application(BaseModel): rejected_reason: Optional[RejectedReason] - stage: Optional[stage.Stage] + stage: Optional[Stage] diff --git a/src/finch/types/hris/individuals/employment_data.py b/src/finch/types/hris/individuals/employment_data.py index c4c2e797..46f3b9de 100644 --- a/src/finch/types/hris/individuals/employment_data.py +++ b/src/finch/types/hris/individuals/employment_data.py @@ -5,8 +5,10 @@ from pydantic import Field as FieldInfo -from ....types import income, location +from ....types import income from ...._models import BaseModel +from ....types.income import Income +from ....types.location import Location __all__ = ["EmploymentData", "Department", "Employment", "Manager"] @@ -54,7 +56,7 @@ class EmploymentData(BaseModel): income_history: Optional[List[Optional[income.Income]]] """The array of income history.""" - income: Optional[income.Income] + income: Optional[Income] """The employee's income as reported by the provider. This may not always be annualized income, but may be in units of bi-weekly, @@ -67,7 +69,7 @@ class EmploymentData(BaseModel): last_name: Optional[str] """The legal last name of the individual.""" - location: Optional[location.Location] + location: Optional[Location] manager: Optional[Manager] """The manager object representing the manager of the individual within the org.""" diff --git a/src/finch/types/hris/pay_statement_response_body.py b/src/finch/types/hris/pay_statement_response_body.py index 6b1c3cdf..cac94b82 100644 --- a/src/finch/types/hris/pay_statement_response_body.py +++ b/src/finch/types/hris/pay_statement_response_body.py @@ -2,15 +2,15 @@ from typing import List, Optional -from ...types import paging from ..._models import BaseModel from ...types.hris import pay_statement +from ...types.paging import Paging __all__ = ["PayStatementResponseBody"] class PayStatementResponseBody(BaseModel): - paging: Optional[paging.Paging] + paging: Optional[Paging] pay_statements: Optional[List[pay_statement.PayStatement]] """The array of pay statements for the current payment."""