From 2a6513587001b7d5001a9490db162ea5ac3817cf Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Thu, 25 Apr 2024 22:43:31 +0000 Subject: [PATCH] docs: clarify behavior around employee_size --- src/finch/resources/sandbox/connections/connections.py | 6 ++++-- src/finch/types/sandbox/connection_create_params.py | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/finch/resources/sandbox/connections/connections.py b/src/finch/resources/sandbox/connections/connections.py index d8d34b85..682f3321 100644 --- a/src/finch/resources/sandbox/connections/connections.py +++ b/src/finch/resources/sandbox/connections/connections.py @@ -65,7 +65,8 @@ def create( Args: employee_size: Optional: the size of the employer to be created with this connection. Defaults - to 20 + to 20. Note that if this is higher than 100, historical payroll data will not be + generated, and instead only one pay period will be created. extra_headers: Send extra headers @@ -125,7 +126,8 @@ async def create( Args: employee_size: Optional: the size of the employer to be created with this connection. Defaults - to 20 + to 20. Note that if this is higher than 100, historical payroll data will not be + generated, and instead only one pay period will be created. extra_headers: Send extra headers diff --git a/src/finch/types/sandbox/connection_create_params.py b/src/finch/types/sandbox/connection_create_params.py index e7e7ce05..3c287302 100644 --- a/src/finch/types/sandbox/connection_create_params.py +++ b/src/finch/types/sandbox/connection_create_params.py @@ -16,7 +16,8 @@ class ConnectionCreateParams(TypedDict, total=False): employee_size: int """Optional: the size of the employer to be created with this connection. - Defaults to 20 + Defaults to 20. Note that if this is higher than 100, historical payroll data + will not be generated, and instead only one pay period will be created. """ products: List[str]