finch-api 1.2.0__tar.gz → 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- finch_api-1.2.2/.release-please-manifest.json +3 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/CHANGELOG.md +17 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/PKG-INFO +1 -1
- {finch_api-1.2.0 → finch_api-1.2.2}/pyproject.toml +1 -1
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_base_client.py +2 -2
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_models.py +2 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_version.py +1 -1
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_legacy_response.py +21 -1
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_response.py +38 -1
- finch_api-1.2.0/.release-please-manifest.json +0 -3
- {finch_api-1.2.0 → finch_api-1.2.2}/.gitignore +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/CONTRIBUTING.md +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/LICENSE +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/README.md +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/SECURITY.md +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/api.md +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/bin/check-release-environment +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/bin/publish-pypi +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/examples/.keep +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/mypy.ini +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/noxfile.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/release-please-config.json +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/requirements-dev.lock +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/requirements.lock +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_client.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_compat.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_constants.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_exceptions.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_files.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_legacy_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_qs.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_resource.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_streaming.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_types.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_logs.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_proxy.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_reflection.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_streams.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_sync.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_transform.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_typing.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/_utils/_utils.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/lib/.keep +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/pagination.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/py.typed +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/access_tokens.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/account.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/benefits/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/benefits/benefits.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/benefits/individuals.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/company.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/directory.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/employments.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/hris.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/individuals.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/pay_statements.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/hris/payments.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/jobs/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/jobs/automated.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/jobs/jobs.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/jobs/manual.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/payroll/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/payroll/pay_groups.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/payroll/payroll.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/providers.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/request_forwarding.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/company.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/connections/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/connections/accounts.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/connections/connections.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/directory.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/employment.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/individual.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/jobs/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/jobs/configuration.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/jobs/jobs.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/payment.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/sandbox/sandbox.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/resources/webhooks.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/access_token_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/account_update_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/base_webhook_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/company_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/create_access_token_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/directory_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/disconnect_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/employment_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefit_contribution.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefit_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefit_features_and_operations.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefit_frequency.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefit_type.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefit_update_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/enrolled_individual.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/individual_benefit.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/individual_enroll_many_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/individual_enrolled_ids_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/individual_retrieve_many_benefits_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/individual_unenroll_many_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/unenrolled_individual.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits_support.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benfit_contribution.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/company.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/company_benefit.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/create_company_benefits_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/directory_list_individuals_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/directory_list_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/employment_data.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/employment_data_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/employment_retrieve_many_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/individual.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/individual_in_directory.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/individual_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/individual_retrieve_many_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/pay_statement.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/pay_statement_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/pay_statement_response_body.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/pay_statement_retrieve_many_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/payment.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/payment_list_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/support_per_benefit_type.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/supported_benefit.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/update_company_benefit_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/income.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/income_param.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/individual_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/introspection.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/job_completion_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/jobs/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/jobs/automated_async_job.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/jobs/automated_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/jobs/automated_create_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/jobs/automated_list_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/jobs/manual_async_job.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/location.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/location_param.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/money.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/money_param.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/pay_statement_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/payment_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/payroll/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/payroll/pay_group_list_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/payroll/pay_group_list_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/payroll/pay_group_retrieve_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/provider.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/request_forwarding_forward_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/request_forwarding_forward_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/company_update_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/company_update_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connection_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connection_create_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_create_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_update_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_update_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/directory_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/directory_create_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/employment_update_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/employment_update_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/individual_update_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/individual_update_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/job_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/job_create_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/jobs/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/jobs/configuration_retrieve_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/jobs/configuration_update_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/jobs/sandbox_job_configuration.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/payment_create_params.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/payment_create_response.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/shared/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/shared/connection_status_type.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/shared/operation_support.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/shared/operation_support_matrix.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/shared/paging.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/shared_params/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/shared_params/connection_status_type.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/webhook_event.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/benefits/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/benefits/test_individuals.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/test_benefits.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/test_company.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/test_directory.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/test_employments.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/test_individuals.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/test_pay_statements.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/hris/test_payments.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/jobs/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/jobs/test_automated.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/jobs/test_manual.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/payroll/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/payroll/test_pay_groups.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/connections/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/connections/test_accounts.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/jobs/__init__.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/jobs/test_configuration.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/test_company.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/test_connections.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/test_directory.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/test_employment.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/test_individual.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/test_jobs.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/test_payment.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/test_access_tokens.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/test_account.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/test_providers.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/test_request_forwarding.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/test_top_level.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/test_webhooks.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/conftest.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/sample_file.txt +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_client.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_deepcopy.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_extract_files.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_files.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_models.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_qs.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_required_args.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_streaming.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_transform.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_utils/test_proxy.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/test_utils/test_typing.py +0 -0
- {finch_api-1.2.0 → finch_api-1.2.2}/tests/utils.py +0 -0
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.2 (2024-08-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.2.1...v1.2.2](https://github.com/Finch-API/finch-api-python/compare/v1.2.1...v1.2.2)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* **ci:** also run pydantic v1 tests ([#482](https://github.com/Finch-API/finch-api-python/issues/482)) ([c5e6131](https://github.com/Finch-API/finch-api-python/commit/c5e6131b3bc85894033bffc2f327bcc114d1b229))
|
|
10
|
+
* **client:** fix parsing union responses when non-json is returned ([#480](https://github.com/Finch-API/finch-api-python/issues/480)) ([2665eea](https://github.com/Finch-API/finch-api-python/commit/2665eea2d8d3ae0a795f96e6f36fe1f109bf8f79))
|
|
11
|
+
|
|
12
|
+
## 1.2.1 (2024-08-19)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v1.2.0...v1.2.1](https://github.com/Finch-API/finch-api-python/compare/v1.2.0...v1.2.1)
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
* **internal:** use different 32bit detection method ([#477](https://github.com/Finch-API/finch-api-python/issues/477)) ([a0a62f8](https://github.com/Finch-API/finch-api-python/commit/a0a62f8a825a058aef0e22502b83f148415bbcae))
|
|
19
|
+
|
|
3
20
|
## 1.2.0 (2024-08-13)
|
|
4
21
|
|
|
5
22
|
Full Changelog: [v1.1.3...v1.2.0](https://github.com/Finch-API/finch-api-python/compare/v1.1.3...v1.2.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: finch-api
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: The official Python library for the Finch API
|
|
5
5
|
Project-URL: Homepage, https://github.com/Finch-API/finch-api-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Finch-API/finch-api-python
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import sys
|
|
3
4
|
import json
|
|
4
5
|
import time
|
|
5
6
|
import uuid
|
|
@@ -2011,7 +2012,6 @@ def get_python_version() -> str:
|
|
|
2011
2012
|
|
|
2012
2013
|
def get_architecture() -> Arch:
|
|
2013
2014
|
try:
|
|
2014
|
-
python_bitness, _ = platform.architecture()
|
|
2015
2015
|
machine = platform.machine().lower()
|
|
2016
2016
|
except Exception:
|
|
2017
2017
|
return "unknown"
|
|
@@ -2027,7 +2027,7 @@ def get_architecture() -> Arch:
|
|
|
2027
2027
|
return "x64"
|
|
2028
2028
|
|
|
2029
2029
|
# TODO: untested
|
|
2030
|
-
if
|
|
2030
|
+
if sys.maxsize <= 2**32:
|
|
2031
2031
|
return "x32"
|
|
2032
2032
|
|
|
2033
2033
|
if machine:
|
|
@@ -380,6 +380,8 @@ def is_basemodel(type_: type) -> bool:
|
|
|
380
380
|
|
|
381
381
|
def is_basemodel_type(type_: type) -> TypeGuard[type[BaseModel] | type[GenericModel]]:
|
|
382
382
|
origin = get_origin(type_) or type_
|
|
383
|
+
if not inspect.isclass(origin):
|
|
384
|
+
return False
|
|
383
385
|
return issubclass(origin, BaseModel) or issubclass(origin, GenericModel)
|
|
384
386
|
|
|
385
387
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import json
|
|
2
|
-
from typing import cast
|
|
2
|
+
from typing import Any, Union, cast
|
|
3
3
|
from typing_extensions import Annotated
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
@@ -81,3 +81,23 @@ def test_response_parse_annotated_type(client: Finch) -> None:
|
|
|
81
81
|
)
|
|
82
82
|
assert obj.foo == "hello!"
|
|
83
83
|
assert obj.bar == 2
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class OtherModel(pydantic.BaseModel):
|
|
87
|
+
a: str
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
@pytest.mark.parametrize("client", [False], indirect=True) # loose validation
|
|
91
|
+
def test_response_parse_expect_model_union_non_json_content(client: Finch) -> None:
|
|
92
|
+
response = LegacyAPIResponse(
|
|
93
|
+
raw=httpx.Response(200, content=b"foo", headers={"Content-Type": "application/text"}),
|
|
94
|
+
client=client,
|
|
95
|
+
stream=False,
|
|
96
|
+
stream_cls=None,
|
|
97
|
+
cast_to=str,
|
|
98
|
+
options=FinalRequestOptions.construct(method="get", url="/foo"),
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
obj = response.parse(to=cast(Any, Union[CustomModel, OtherModel]))
|
|
102
|
+
assert isinstance(obj, str)
|
|
103
|
+
assert obj == "foo"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import json
|
|
2
|
-
from typing import List, cast
|
|
2
|
+
from typing import Any, List, Union, cast
|
|
3
3
|
from typing_extensions import Annotated
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
@@ -188,3 +188,40 @@ async def test_async_response_parse_annotated_type(async_client: AsyncFinch) ->
|
|
|
188
188
|
)
|
|
189
189
|
assert obj.foo == "hello!"
|
|
190
190
|
assert obj.bar == 2
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
class OtherModel(BaseModel):
|
|
194
|
+
a: str
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
@pytest.mark.parametrize("client", [False], indirect=True) # loose validation
|
|
198
|
+
def test_response_parse_expect_model_union_non_json_content(client: Finch) -> None:
|
|
199
|
+
response = APIResponse(
|
|
200
|
+
raw=httpx.Response(200, content=b"foo", headers={"Content-Type": "application/text"}),
|
|
201
|
+
client=client,
|
|
202
|
+
stream=False,
|
|
203
|
+
stream_cls=None,
|
|
204
|
+
cast_to=str,
|
|
205
|
+
options=FinalRequestOptions.construct(method="get", url="/foo"),
|
|
206
|
+
)
|
|
207
|
+
|
|
208
|
+
obj = response.parse(to=cast(Any, Union[CustomModel, OtherModel]))
|
|
209
|
+
assert isinstance(obj, str)
|
|
210
|
+
assert obj == "foo"
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
@pytest.mark.asyncio
|
|
214
|
+
@pytest.mark.parametrize("async_client", [False], indirect=True) # loose validation
|
|
215
|
+
async def test_async_response_parse_expect_model_union_non_json_content(async_client: AsyncFinch) -> None:
|
|
216
|
+
response = AsyncAPIResponse(
|
|
217
|
+
raw=httpx.Response(200, content=b"foo", headers={"Content-Type": "application/text"}),
|
|
218
|
+
client=async_client,
|
|
219
|
+
stream=False,
|
|
220
|
+
stream_cls=None,
|
|
221
|
+
cast_to=str,
|
|
222
|
+
options=FinalRequestOptions.construct(method="get", url="/foo"),
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
obj = await response.parse(to=cast(Any, Union[CustomModel, OtherModel]))
|
|
226
|
+
assert isinstance(obj, str)
|
|
227
|
+
assert obj == "foo"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/individual_enroll_many_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/benefits/individual_unenroll_many_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/create_company_benefits_response.py
RENAMED
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/directory_list_individuals_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/hris/pay_statement_retrieve_many_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_create_params.py
RENAMED
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_create_response.py
RENAMED
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_update_params.py
RENAMED
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/connections/account_update_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/jobs/configuration_retrieve_response.py
RENAMED
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/jobs/configuration_update_params.py
RENAMED
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/src/finch/types/sandbox/jobs/sandbox_job_configuration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{finch_api-1.2.0 → finch_api-1.2.2}/tests/api_resources/sandbox/connections/test_accounts.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|