Skip to content

chore(internal): minor import restructuring #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/finch/types/ats/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

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

rejected_reason: Optional[RejectedReason]

stage: Optional[stage.Stage]
stage: Optional[Stage]
8 changes: 5 additions & 3 deletions src/finch/types/hris/individuals/employment_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down Expand Up @@ -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,
Expand All @@ -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."""
Expand Down
4 changes: 2 additions & 2 deletions src/finch/types/hris/pay_statement_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""