samplehc 0.11.0__tar.gz → 0.12.0__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.
- samplehc-0.12.0/.release-please-manifest.json +3 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/CHANGELOG.md +26 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/PKG-INFO +1 -1
- {samplehc-0.11.0 → samplehc-0.12.0}/api.md +8 -1
- {samplehc-0.11.0 → samplehc-0.12.0}/pyproject.toml +1 -1
- {samplehc-0.11.0 → samplehc-0.12.0}/requirements-dev.lock +5 -2
- {samplehc-0.11.0 → samplehc-0.12.0}/requirements.lock +5 -2
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/__init__.py +3 -1
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_base_client.py +9 -9
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_client.py +8 -8
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_models.py +10 -4
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_qs.py +7 -7
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_types.py +18 -11
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_transform.py +2 -2
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_utils.py +4 -4
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_version.py +1 -1
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v1/v1.py +9 -9
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/async_results.py +13 -13
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_agents/browser_agents.py +5 -5
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_agents/runs/help_requests.py +3 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_automation/availity.py +3 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/clearinghouse/claim.py +29 -29
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/clearinghouse/clearinghouse.py +33 -33
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/clearinghouse/payers.py +5 -5
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/communication.py +29 -29
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/database.py +5 -5
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/documents/documents.py +152 -37
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/documents/formats.py +3 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/documents/legacy.py +91 -6
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/documents/pdf_template.py +3 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/documents/templates.py +27 -27
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/events.py +7 -7
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/hie/adt.py +7 -7
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/hie/documents.py +15 -15
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/bank/transactions.py +5 -5
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/careviso.py +29 -29
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/glidian/glidian.py +13 -13
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +5 -5
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +19 -19
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/kno2/messages.py +5 -5
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/salesforce.py +7 -7
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/snowflake.py +3 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/xcures.py +7 -7
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/ledger/account.py +10 -11
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/ledger/entry.py +21 -22
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/policies.py +47 -47
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/tasks/state.py +7 -7
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/tasks/tasks.py +15 -15
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/workflow_runs/step.py +3 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/workflow_runs/workflow_runs.py +11 -11
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/workflows.py +13 -13
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/__init__.py +1 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -2
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_extract_params.py +4 -1
- samplehc-0.12.0/src/samplehc/types/v2/document_split_params.py +35 -0
- samplehc-0.12.0/src/samplehc/types/v2/document_unzip_async_response.py +12 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/__init__.py +2 -0
- samplehc-0.11.0/src/samplehc/types/v2/document_split_params.py → samplehc-0.12.0/src/samplehc/types/v2/documents/legacy_split_params.py +3 -3
- samplehc-0.12.0/src/samplehc/types/v2/documents/legacy_split_response.py +12 -0
- samplehc-0.12.0/src/samplehc/types/v2/documents/template_render_document_params.py +31 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/ledger/account_writeoff_params.py +2 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/ledger/entry_post_params.py +1 -2
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/ledger/entry_reverse_params.py +2 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/documents/test_legacy.py +87 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/documents/test_templates.py +42 -6
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/ledger/test_account.py +2 -3
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/ledger/test_entry.py +4 -5
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_documents.py +161 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_transform.py +9 -2
- samplehc-0.11.0/.release-please-manifest.json +0 -3
- samplehc-0.11.0/src/samplehc/types/v2/documents/template_render_document_params.py +0 -19
- {samplehc-0.11.0 → samplehc-0.12.0}/.gitignore +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/CONTRIBUTING.md +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/LICENSE +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/README.md +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/SECURITY.md +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/bin/check-release-environment +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/bin/publish-pypi +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/examples/.keep +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/noxfile.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/release-please-config.json +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_compat.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_constants.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_exceptions.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_files.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_resource.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_streaming.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_compat.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_datetime_parse.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_logs.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_proxy.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_reflection.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_resources_proxy.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_streams.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_sync.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/_utils/_typing.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/lib/.keep +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/py.typed +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v1/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_agents/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_agents/runs/runs.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/browser_automation/browser_automation.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/documents/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/hie/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/hie/hie.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/bank/bank.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/integrations.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/integrations/kno2/kno2.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/ledger/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/ledger/ledger.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/tasks/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/v2.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/resources/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v1/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v1_query_audit_logs_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v1_query_audit_logs_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v1_sql_execute_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v1_sql_execute_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/async_result_retrieve_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/async_result_sleep_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/async_result_sleep_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_agent_invoke_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_agent_invoke_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_agents/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_automation/availity_submit_appeal_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/browser_automation/availity_submit_appeal_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse/payer_list_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse/payer_search_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse/payer_search_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/communication_send_email_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/communication_send_fax_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/communication_send_fax_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/communication_send_letter_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/communication_send_letter_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/database_execute_sql_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/database_execute_sql_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_classify_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_classify_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_combine_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_combine_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_create_from_splits_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_create_from_splits_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_extract_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_generate_csv_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_generate_csv_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_presigned_upload_url_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_presigned_upload_url_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_retrieve_csv_content_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_retrieve_metadata_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_retrieve_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_search_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_search_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_split_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_transform_json_to_html_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_transform_json_to_html_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/document_unzip_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/format_create_pdf_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/format_create_pdf_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/legacy_extract_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/legacy_extract_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/legacy_reason_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/legacy_reason_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/template_generate_document_async_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/template_generate_document_async_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/documents/template_render_document_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/event_emit_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/event_emit_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/hie/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/hie/adt_subscribe_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/hie/document_query_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/hie/document_query_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/hie/document_upload_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian_list_services_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/glidian_list_services_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/snowflake_query_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/snowflake_query_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/integrations/xcure_make_request_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/ledger/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/ledger/account_writeoff_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/ledger/entry_post_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/ledger/entry_reverse_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_list_companies_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_list_companies_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_list_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_list_plans_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_list_plans_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_list_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/policy_retrieve_text_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_cancel_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_complete_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_complete_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_get_suspended_payload_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_retrieve_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_retry_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_update_screen_time_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/task_update_screen_time_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/tasks/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/tasks/state_get_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/tasks/state_update_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/tasks/state_update_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_deploy_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_query_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_query_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_run_get_start_data_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_run_retrieve_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_start_params.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/src/samplehc/types/v2/workflow_start_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/test_v1.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v1/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/browser_agents/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/browser_agents/runs/test_help_requests.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/browser_automation/test_availity.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/clearinghouse/test_claim.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/clearinghouse/test_payers.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/documents/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/documents/test_formats.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/documents/test_pdf_template.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/hie/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/hie/test_adt.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/hie/test_documents.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/bank/test_transactions.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/glidian/prior_authorizations/test_clinical_questions.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/glidian/test_prior_authorizations.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/kno2/test_messages.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/test_careviso.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/test_glidian.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/test_salesforce.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/test_snowflake.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/integrations/test_xcures.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/ledger/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/tasks/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/tasks/test_state.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_async_results.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_browser_agents.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_clearinghouse.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_communication.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_database.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_events.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_policies.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_tasks.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_workflow_runs.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/test_workflows.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/api_resources/v2/workflow_runs/test_step.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/conftest.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/sample_file.txt +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_client.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_deepcopy.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_extract_files.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_files.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_models.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_qs.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_required_args.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_response.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_streaming.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_utils/test_proxy.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/test_utils/test_typing.py +0 -0
- {samplehc-0.11.0 → samplehc-0.12.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.12.0 (2025-10-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.11.0...v0.12.0](https://github.com/samplehc/samplehc-python/compare/v0.11.0...v0.12.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([b25058a](https://github.com/samplehc/samplehc-python/commit/b25058a7abb9371f27c89ba87a5cc47fa88e634f))
|
|
10
|
+
* **api:** api update ([4584da6](https://github.com/samplehc/samplehc-python/commit/4584da6e80c69001ad613b86d502f2f8313224d8))
|
|
11
|
+
* **api:** api update ([713ce1d](https://github.com/samplehc/samplehc-python/commit/713ce1d034930c66c4412891fe1bc1462e0eeb13))
|
|
12
|
+
* **api:** api update ([dffb82c](https://github.com/samplehc/samplehc-python/commit/dffb82c05cccc47781309e20ac2aad7dbc2d37e7))
|
|
13
|
+
* **api:** api update ([c60ab57](https://github.com/samplehc/samplehc-python/commit/c60ab57ae33e636fc101897afe71825a07ace84d))
|
|
14
|
+
* **api:** api update ([f980db8](https://github.com/samplehc/samplehc-python/commit/f980db8377e060bddd953bf57fc9f53b91d239d1))
|
|
15
|
+
* **api:** manual updates ([5232b8a](https://github.com/samplehc/samplehc-python/commit/5232b8a692e92c75832234247732a84bae6da433))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* do not set headers with default to omit ([a02da5d](https://github.com/samplehc/samplehc-python/commit/a02da5d2c997926bce592fc18ff2268f1d84de5f))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Chores
|
|
24
|
+
|
|
25
|
+
* do not install brew dependencies in ./scripts/bootstrap by default ([ce956e1](https://github.com/samplehc/samplehc-python/commit/ce956e1d6d08db128884ab294d5f3ea2ceb78e66))
|
|
26
|
+
* **internal:** update pydantic dependency ([2974bce](https://github.com/samplehc/samplehc-python/commit/2974bcef5fb88c5f58460f677167ca3011e9a208))
|
|
27
|
+
* **types:** change optional parameter type from NotGiven to Omit ([67056f8](https://github.com/samplehc/samplehc-python/commit/67056f87bda42cd13d0be80aeefc21e3747a61d1))
|
|
28
|
+
|
|
3
29
|
## 0.11.0 (2025-09-11)
|
|
4
30
|
|
|
5
31
|
Full Changelog: [v0.10.0...v0.11.0](https://github.com/samplehc/samplehc-python/compare/v0.10.0...v0.11.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: samplehc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.12.0
|
|
4
4
|
Summary: The official Python library for the Sample Healthcare API
|
|
5
5
|
Project-URL: Homepage, https://github.com/samplehc/samplehc-python
|
|
6
6
|
Project-URL: Repository, https://github.com/samplehc/samplehc-python
|
|
@@ -128,6 +128,7 @@ from samplehc.types.v2 import (
|
|
|
128
128
|
DocumentSplitResponse,
|
|
129
129
|
DocumentTransformJsonToHTMLResponse,
|
|
130
130
|
DocumentUnzipResponse,
|
|
131
|
+
DocumentUnzipAsyncResponse,
|
|
131
132
|
)
|
|
132
133
|
```
|
|
133
134
|
|
|
@@ -146,19 +147,25 @@ Methods:
|
|
|
146
147
|
- <code title="post /api/v2/documents/split">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">split</a>(\*\*<a href="src/samplehc/types/v2/document_split_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_split_response.py">DocumentSplitResponse</a></code>
|
|
147
148
|
- <code title="post /api/v2/documents/json-to-html">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">transform_json_to_html</a>(\*\*<a href="src/samplehc/types/v2/document_transform_json_to_html_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_transform_json_to_html_response.py">DocumentTransformJsonToHTMLResponse</a></code>
|
|
148
149
|
- <code title="post /api/v2/documents/{documentId}/unzip">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">unzip</a>(document_id) -> <a href="./src/samplehc/types/v2/document_unzip_response.py">DocumentUnzipResponse</a></code>
|
|
150
|
+
- <code title="post /api/v2/documents/{documentId}/unzip-async">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">unzip_async</a>(document_id) -> <a href="./src/samplehc/types/v2/document_unzip_async_response.py">DocumentUnzipAsyncResponse</a></code>
|
|
149
151
|
|
|
150
152
|
### Legacy
|
|
151
153
|
|
|
152
154
|
Types:
|
|
153
155
|
|
|
154
156
|
```python
|
|
155
|
-
from samplehc.types.v2.documents import
|
|
157
|
+
from samplehc.types.v2.documents import (
|
|
158
|
+
LegacyExtractResponse,
|
|
159
|
+
LegacyReasonResponse,
|
|
160
|
+
LegacySplitResponse,
|
|
161
|
+
)
|
|
156
162
|
```
|
|
157
163
|
|
|
158
164
|
Methods:
|
|
159
165
|
|
|
160
166
|
- <code title="post /api/v2/documents/legacy/extract">client.v2.documents.legacy.<a href="./src/samplehc/resources/v2/documents/legacy.py">extract</a>(\*\*<a href="src/samplehc/types/v2/documents/legacy_extract_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/legacy_extract_response.py">LegacyExtractResponse</a></code>
|
|
161
167
|
- <code title="post /api/v2/documents/legacy/reason">client.v2.documents.legacy.<a href="./src/samplehc/resources/v2/documents/legacy.py">reason</a>(\*\*<a href="src/samplehc/types/v2/documents/legacy_reason_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/legacy_reason_response.py">LegacyReasonResponse</a></code>
|
|
168
|
+
- <code title="post /api/v2/documents/legacy/split">client.v2.documents.legacy.<a href="./src/samplehc/resources/v2/documents/legacy.py">split</a>(\*\*<a href="src/samplehc/types/v2/documents/legacy_split_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/legacy_split_response.py">LegacySplitResponse</a></code>
|
|
162
169
|
|
|
163
170
|
### Templates
|
|
164
171
|
|
|
@@ -88,9 +88,9 @@ pluggy==1.5.0
|
|
|
88
88
|
propcache==0.3.1
|
|
89
89
|
# via aiohttp
|
|
90
90
|
# via yarl
|
|
91
|
-
pydantic==2.
|
|
91
|
+
pydantic==2.11.9
|
|
92
92
|
# via samplehc
|
|
93
|
-
pydantic-core==2.
|
|
93
|
+
pydantic-core==2.33.2
|
|
94
94
|
# via pydantic
|
|
95
95
|
pygments==2.18.0
|
|
96
96
|
# via rich
|
|
@@ -126,6 +126,9 @@ typing-extensions==4.12.2
|
|
|
126
126
|
# via pydantic-core
|
|
127
127
|
# via pyright
|
|
128
128
|
# via samplehc
|
|
129
|
+
# via typing-inspection
|
|
130
|
+
typing-inspection==0.4.1
|
|
131
|
+
# via pydantic
|
|
129
132
|
virtualenv==20.24.5
|
|
130
133
|
# via nox
|
|
131
134
|
yarl==1.20.0
|
|
@@ -55,9 +55,9 @@ multidict==6.4.4
|
|
|
55
55
|
propcache==0.3.1
|
|
56
56
|
# via aiohttp
|
|
57
57
|
# via yarl
|
|
58
|
-
pydantic==2.
|
|
58
|
+
pydantic==2.11.9
|
|
59
59
|
# via samplehc
|
|
60
|
-
pydantic-core==2.
|
|
60
|
+
pydantic-core==2.33.2
|
|
61
61
|
# via pydantic
|
|
62
62
|
sniffio==1.3.0
|
|
63
63
|
# via anyio
|
|
@@ -68,5 +68,8 @@ typing-extensions==4.12.2
|
|
|
68
68
|
# via pydantic
|
|
69
69
|
# via pydantic-core
|
|
70
70
|
# via samplehc
|
|
71
|
+
# via typing-inspection
|
|
72
|
+
typing-inspection==0.4.1
|
|
73
|
+
# via pydantic
|
|
71
74
|
yarl==1.20.0
|
|
72
75
|
# via aiohttp
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import typing as _t
|
|
4
4
|
|
|
5
5
|
from . import types
|
|
6
|
-
from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes
|
|
6
|
+
from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes, omit, not_given
|
|
7
7
|
from ._utils import file_from_path
|
|
8
8
|
from ._client import (
|
|
9
9
|
Client,
|
|
@@ -48,7 +48,9 @@ __all__ = [
|
|
|
48
48
|
"ProxiesTypes",
|
|
49
49
|
"NotGiven",
|
|
50
50
|
"NOT_GIVEN",
|
|
51
|
+
"not_given",
|
|
51
52
|
"Omit",
|
|
53
|
+
"omit",
|
|
52
54
|
"SampleHealthcareError",
|
|
53
55
|
"APIError",
|
|
54
56
|
"APIStatusError",
|
|
@@ -42,7 +42,6 @@ from . import _exceptions
|
|
|
42
42
|
from ._qs import Querystring
|
|
43
43
|
from ._files import to_httpx_files, async_to_httpx_files
|
|
44
44
|
from ._types import (
|
|
45
|
-
NOT_GIVEN,
|
|
46
45
|
Body,
|
|
47
46
|
Omit,
|
|
48
47
|
Query,
|
|
@@ -57,6 +56,7 @@ from ._types import (
|
|
|
57
56
|
RequestOptions,
|
|
58
57
|
HttpxRequestFiles,
|
|
59
58
|
ModelBuilderProtocol,
|
|
59
|
+
not_given,
|
|
60
60
|
)
|
|
61
61
|
from ._utils import is_dict, is_list, asyncify, is_given, lru_cache, is_mapping
|
|
62
62
|
from ._compat import PYDANTIC_V1, model_copy, model_dump
|
|
@@ -145,9 +145,9 @@ class PageInfo:
|
|
|
145
145
|
def __init__(
|
|
146
146
|
self,
|
|
147
147
|
*,
|
|
148
|
-
url: URL | NotGiven =
|
|
149
|
-
json: Body | NotGiven =
|
|
150
|
-
params: Query | NotGiven =
|
|
148
|
+
url: URL | NotGiven = not_given,
|
|
149
|
+
json: Body | NotGiven = not_given,
|
|
150
|
+
params: Query | NotGiven = not_given,
|
|
151
151
|
) -> None:
|
|
152
152
|
self.url = url
|
|
153
153
|
self.json = json
|
|
@@ -595,7 +595,7 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
|
595
595
|
# we internally support defining a temporary header to override the
|
|
596
596
|
# default `cast_to` type for use with `.with_raw_response` and `.with_streaming_response`
|
|
597
597
|
# see _response.py for implementation details
|
|
598
|
-
override_cast_to = headers.pop(OVERRIDE_CAST_TO_HEADER,
|
|
598
|
+
override_cast_to = headers.pop(OVERRIDE_CAST_TO_HEADER, not_given)
|
|
599
599
|
if is_given(override_cast_to):
|
|
600
600
|
options.headers = headers
|
|
601
601
|
return cast(Type[ResponseT], override_cast_to)
|
|
@@ -825,7 +825,7 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
|
|
|
825
825
|
version: str,
|
|
826
826
|
base_url: str | URL,
|
|
827
827
|
max_retries: int = DEFAULT_MAX_RETRIES,
|
|
828
|
-
timeout: float | Timeout | None | NotGiven =
|
|
828
|
+
timeout: float | Timeout | None | NotGiven = not_given,
|
|
829
829
|
http_client: httpx.Client | None = None,
|
|
830
830
|
custom_headers: Mapping[str, str] | None = None,
|
|
831
831
|
custom_query: Mapping[str, object] | None = None,
|
|
@@ -1356,7 +1356,7 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
|
|
|
1356
1356
|
base_url: str | URL,
|
|
1357
1357
|
_strict_response_validation: bool,
|
|
1358
1358
|
max_retries: int = DEFAULT_MAX_RETRIES,
|
|
1359
|
-
timeout: float | Timeout | None | NotGiven =
|
|
1359
|
+
timeout: float | Timeout | None | NotGiven = not_given,
|
|
1360
1360
|
http_client: httpx.AsyncClient | None = None,
|
|
1361
1361
|
custom_headers: Mapping[str, str] | None = None,
|
|
1362
1362
|
custom_query: Mapping[str, object] | None = None,
|
|
@@ -1818,8 +1818,8 @@ def make_request_options(
|
|
|
1818
1818
|
extra_query: Query | None = None,
|
|
1819
1819
|
extra_body: Body | None = None,
|
|
1820
1820
|
idempotency_key: str | None = None,
|
|
1821
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1822
|
-
post_parser: PostParser | NotGiven =
|
|
1821
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1822
|
+
post_parser: PostParser | NotGiven = not_given,
|
|
1823
1823
|
) -> RequestOptions:
|
|
1824
1824
|
"""Create a dict of type RequestOptions without keys of NotGiven values."""
|
|
1825
1825
|
options: RequestOptions = {}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import os
|
|
6
|
-
from typing import Any,
|
|
6
|
+
from typing import Any, Mapping
|
|
7
7
|
from typing_extensions import Self, override
|
|
8
8
|
|
|
9
9
|
import httpx
|
|
@@ -11,7 +11,6 @@ import httpx
|
|
|
11
11
|
from . import _exceptions
|
|
12
12
|
from ._qs import Querystring
|
|
13
13
|
from ._types import (
|
|
14
|
-
NOT_GIVEN,
|
|
15
14
|
Omit,
|
|
16
15
|
Headers,
|
|
17
16
|
Timeout,
|
|
@@ -19,6 +18,7 @@ from ._types import (
|
|
|
19
18
|
Transport,
|
|
20
19
|
ProxiesTypes,
|
|
21
20
|
RequestOptions,
|
|
21
|
+
not_given,
|
|
22
22
|
)
|
|
23
23
|
from ._utils import is_given, get_async_library
|
|
24
24
|
from ._version import __version__
|
|
@@ -58,7 +58,7 @@ class SampleHealthcare(SyncAPIClient):
|
|
|
58
58
|
*,
|
|
59
59
|
api_key: str | None = None,
|
|
60
60
|
base_url: str | httpx.URL | None = None,
|
|
61
|
-
timeout:
|
|
61
|
+
timeout: float | Timeout | None | NotGiven = not_given,
|
|
62
62
|
max_retries: int = DEFAULT_MAX_RETRIES,
|
|
63
63
|
default_headers: Mapping[str, str] | None = None,
|
|
64
64
|
default_query: Mapping[str, object] | None = None,
|
|
@@ -143,9 +143,9 @@ class SampleHealthcare(SyncAPIClient):
|
|
|
143
143
|
*,
|
|
144
144
|
api_key: str | None = None,
|
|
145
145
|
base_url: str | httpx.URL | None = None,
|
|
146
|
-
timeout: float | Timeout | None | NotGiven =
|
|
146
|
+
timeout: float | Timeout | None | NotGiven = not_given,
|
|
147
147
|
http_client: httpx.Client | None = None,
|
|
148
|
-
max_retries: int | NotGiven =
|
|
148
|
+
max_retries: int | NotGiven = not_given,
|
|
149
149
|
default_headers: Mapping[str, str] | None = None,
|
|
150
150
|
set_default_headers: Mapping[str, str] | None = None,
|
|
151
151
|
default_query: Mapping[str, object] | None = None,
|
|
@@ -237,7 +237,7 @@ class AsyncSampleHealthcare(AsyncAPIClient):
|
|
|
237
237
|
*,
|
|
238
238
|
api_key: str | None = None,
|
|
239
239
|
base_url: str | httpx.URL | None = None,
|
|
240
|
-
timeout:
|
|
240
|
+
timeout: float | Timeout | None | NotGiven = not_given,
|
|
241
241
|
max_retries: int = DEFAULT_MAX_RETRIES,
|
|
242
242
|
default_headers: Mapping[str, str] | None = None,
|
|
243
243
|
default_query: Mapping[str, object] | None = None,
|
|
@@ -322,9 +322,9 @@ class AsyncSampleHealthcare(AsyncAPIClient):
|
|
|
322
322
|
*,
|
|
323
323
|
api_key: str | None = None,
|
|
324
324
|
base_url: str | httpx.URL | None = None,
|
|
325
|
-
timeout: float | Timeout | None | NotGiven =
|
|
325
|
+
timeout: float | Timeout | None | NotGiven = not_given,
|
|
326
326
|
http_client: httpx.AsyncClient | None = None,
|
|
327
|
-
max_retries: int | NotGiven =
|
|
327
|
+
max_retries: int | NotGiven = not_given,
|
|
328
328
|
default_headers: Mapping[str, str] | None = None,
|
|
329
329
|
set_default_headers: Mapping[str, str] | None = None,
|
|
330
330
|
default_query: Mapping[str, object] | None = None,
|
|
@@ -256,7 +256,7 @@ class BaseModel(pydantic.BaseModel):
|
|
|
256
256
|
mode: Literal["json", "python"] | str = "python",
|
|
257
257
|
include: IncEx | None = None,
|
|
258
258
|
exclude: IncEx | None = None,
|
|
259
|
-
by_alias: bool =
|
|
259
|
+
by_alias: bool | None = None,
|
|
260
260
|
exclude_unset: bool = False,
|
|
261
261
|
exclude_defaults: bool = False,
|
|
262
262
|
exclude_none: bool = False,
|
|
@@ -264,6 +264,7 @@ class BaseModel(pydantic.BaseModel):
|
|
|
264
264
|
warnings: bool | Literal["none", "warn", "error"] = True,
|
|
265
265
|
context: dict[str, Any] | None = None,
|
|
266
266
|
serialize_as_any: bool = False,
|
|
267
|
+
fallback: Callable[[Any], Any] | None = None,
|
|
267
268
|
) -> dict[str, Any]:
|
|
268
269
|
"""Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump
|
|
269
270
|
|
|
@@ -295,10 +296,12 @@ class BaseModel(pydantic.BaseModel):
|
|
|
295
296
|
raise ValueError("context is only supported in Pydantic v2")
|
|
296
297
|
if serialize_as_any != False:
|
|
297
298
|
raise ValueError("serialize_as_any is only supported in Pydantic v2")
|
|
299
|
+
if fallback is not None:
|
|
300
|
+
raise ValueError("fallback is only supported in Pydantic v2")
|
|
298
301
|
dumped = super().dict( # pyright: ignore[reportDeprecated]
|
|
299
302
|
include=include,
|
|
300
303
|
exclude=exclude,
|
|
301
|
-
by_alias=by_alias,
|
|
304
|
+
by_alias=by_alias if by_alias is not None else False,
|
|
302
305
|
exclude_unset=exclude_unset,
|
|
303
306
|
exclude_defaults=exclude_defaults,
|
|
304
307
|
exclude_none=exclude_none,
|
|
@@ -313,13 +316,14 @@ class BaseModel(pydantic.BaseModel):
|
|
|
313
316
|
indent: int | None = None,
|
|
314
317
|
include: IncEx | None = None,
|
|
315
318
|
exclude: IncEx | None = None,
|
|
316
|
-
by_alias: bool =
|
|
319
|
+
by_alias: bool | None = None,
|
|
317
320
|
exclude_unset: bool = False,
|
|
318
321
|
exclude_defaults: bool = False,
|
|
319
322
|
exclude_none: bool = False,
|
|
320
323
|
round_trip: bool = False,
|
|
321
324
|
warnings: bool | Literal["none", "warn", "error"] = True,
|
|
322
325
|
context: dict[str, Any] | None = None,
|
|
326
|
+
fallback: Callable[[Any], Any] | None = None,
|
|
323
327
|
serialize_as_any: bool = False,
|
|
324
328
|
) -> str:
|
|
325
329
|
"""Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json
|
|
@@ -348,11 +352,13 @@ class BaseModel(pydantic.BaseModel):
|
|
|
348
352
|
raise ValueError("context is only supported in Pydantic v2")
|
|
349
353
|
if serialize_as_any != False:
|
|
350
354
|
raise ValueError("serialize_as_any is only supported in Pydantic v2")
|
|
355
|
+
if fallback is not None:
|
|
356
|
+
raise ValueError("fallback is only supported in Pydantic v2")
|
|
351
357
|
return super().json( # type: ignore[reportDeprecated]
|
|
352
358
|
indent=indent,
|
|
353
359
|
include=include,
|
|
354
360
|
exclude=exclude,
|
|
355
|
-
by_alias=by_alias,
|
|
361
|
+
by_alias=by_alias if by_alias is not None else False,
|
|
356
362
|
exclude_unset=exclude_unset,
|
|
357
363
|
exclude_defaults=exclude_defaults,
|
|
358
364
|
exclude_none=exclude_none,
|
|
@@ -4,7 +4,7 @@ from typing import Any, List, Tuple, Union, Mapping, TypeVar
|
|
|
4
4
|
from urllib.parse import parse_qs, urlencode
|
|
5
5
|
from typing_extensions import Literal, get_args
|
|
6
6
|
|
|
7
|
-
from ._types import
|
|
7
|
+
from ._types import NotGiven, not_given
|
|
8
8
|
from ._utils import flatten
|
|
9
9
|
|
|
10
10
|
_T = TypeVar("_T")
|
|
@@ -41,8 +41,8 @@ class Querystring:
|
|
|
41
41
|
self,
|
|
42
42
|
params: Params,
|
|
43
43
|
*,
|
|
44
|
-
array_format:
|
|
45
|
-
nested_format:
|
|
44
|
+
array_format: ArrayFormat | NotGiven = not_given,
|
|
45
|
+
nested_format: NestedFormat | NotGiven = not_given,
|
|
46
46
|
) -> str:
|
|
47
47
|
return urlencode(
|
|
48
48
|
self.stringify_items(
|
|
@@ -56,8 +56,8 @@ class Querystring:
|
|
|
56
56
|
self,
|
|
57
57
|
params: Params,
|
|
58
58
|
*,
|
|
59
|
-
array_format:
|
|
60
|
-
nested_format:
|
|
59
|
+
array_format: ArrayFormat | NotGiven = not_given,
|
|
60
|
+
nested_format: NestedFormat | NotGiven = not_given,
|
|
61
61
|
) -> list[tuple[str, str]]:
|
|
62
62
|
opts = Options(
|
|
63
63
|
qs=self,
|
|
@@ -143,8 +143,8 @@ class Options:
|
|
|
143
143
|
self,
|
|
144
144
|
qs: Querystring = _qs,
|
|
145
145
|
*,
|
|
146
|
-
array_format:
|
|
147
|
-
nested_format:
|
|
146
|
+
array_format: ArrayFormat | NotGiven = not_given,
|
|
147
|
+
nested_format: NestedFormat | NotGiven = not_given,
|
|
148
148
|
) -> None:
|
|
149
149
|
self.array_format = qs.array_format if isinstance(array_format, NotGiven) else array_format
|
|
150
150
|
self.nested_format = qs.nested_format if isinstance(nested_format, NotGiven) else nested_format
|
|
@@ -117,18 +117,21 @@ class RequestOptions(TypedDict, total=False):
|
|
|
117
117
|
# Sentinel class used until PEP 0661 is accepted
|
|
118
118
|
class NotGiven:
|
|
119
119
|
"""
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
For parameters with a meaningful None value, we need to distinguish between
|
|
121
|
+
the user explicitly passing None, and the user not passing the parameter at
|
|
122
|
+
all.
|
|
123
|
+
|
|
124
|
+
User code shouldn't need to use not_given directly.
|
|
122
125
|
|
|
123
126
|
For example:
|
|
124
127
|
|
|
125
128
|
```py
|
|
126
|
-
def
|
|
129
|
+
def create(timeout: Timeout | None | NotGiven = not_given): ...
|
|
127
130
|
|
|
128
131
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
create(timeout=1) # 1s timeout
|
|
133
|
+
create(timeout=None) # No timeout
|
|
134
|
+
create() # Default timeout behavior
|
|
132
135
|
```
|
|
133
136
|
"""
|
|
134
137
|
|
|
@@ -140,13 +143,14 @@ class NotGiven:
|
|
|
140
143
|
return "NOT_GIVEN"
|
|
141
144
|
|
|
142
145
|
|
|
143
|
-
|
|
146
|
+
not_given = NotGiven()
|
|
147
|
+
# for backwards compatibility:
|
|
144
148
|
NOT_GIVEN = NotGiven()
|
|
145
149
|
|
|
146
150
|
|
|
147
151
|
class Omit:
|
|
148
|
-
"""
|
|
149
|
-
|
|
152
|
+
"""
|
|
153
|
+
To explicitly omit something from being sent in a request, use `omit`.
|
|
150
154
|
|
|
151
155
|
```py
|
|
152
156
|
# as the default `Content-Type` header is `application/json` that will be sent
|
|
@@ -156,8 +160,8 @@ class Omit:
|
|
|
156
160
|
# to look something like: 'multipart/form-data; boundary=0d8382fcf5f8c3be01ca2e11002d2983'
|
|
157
161
|
client.post(..., headers={"Content-Type": "multipart/form-data"})
|
|
158
162
|
|
|
159
|
-
# instead you can remove the default `application/json` header by passing
|
|
160
|
-
client.post(..., headers={"Content-Type":
|
|
163
|
+
# instead you can remove the default `application/json` header by passing omit
|
|
164
|
+
client.post(..., headers={"Content-Type": omit})
|
|
161
165
|
```
|
|
162
166
|
"""
|
|
163
167
|
|
|
@@ -165,6 +169,9 @@ class Omit:
|
|
|
165
169
|
return False
|
|
166
170
|
|
|
167
171
|
|
|
172
|
+
omit = Omit()
|
|
173
|
+
|
|
174
|
+
|
|
168
175
|
@runtime_checkable
|
|
169
176
|
class ModelBuilderProtocol(Protocol):
|
|
170
177
|
@classmethod
|
|
@@ -268,7 +268,7 @@ def _transform_typeddict(
|
|
|
268
268
|
annotations = get_type_hints(expected_type, include_extras=True)
|
|
269
269
|
for key, value in data.items():
|
|
270
270
|
if not is_given(value):
|
|
271
|
-
# we don't need to include
|
|
271
|
+
# we don't need to include omitted values here as they'll
|
|
272
272
|
# be stripped out before the request is sent anyway
|
|
273
273
|
continue
|
|
274
274
|
|
|
@@ -434,7 +434,7 @@ async def _async_transform_typeddict(
|
|
|
434
434
|
annotations = get_type_hints(expected_type, include_extras=True)
|
|
435
435
|
for key, value in data.items():
|
|
436
436
|
if not is_given(value):
|
|
437
|
-
# we don't need to include
|
|
437
|
+
# we don't need to include omitted values here as they'll
|
|
438
438
|
# be stripped out before the request is sent anyway
|
|
439
439
|
continue
|
|
440
440
|
|
|
@@ -21,7 +21,7 @@ from typing_extensions import TypeGuard
|
|
|
21
21
|
|
|
22
22
|
import sniffio
|
|
23
23
|
|
|
24
|
-
from .._types import NotGiven, FileTypes,
|
|
24
|
+
from .._types import Omit, NotGiven, FileTypes, HeadersLike
|
|
25
25
|
|
|
26
26
|
_T = TypeVar("_T")
|
|
27
27
|
_TupleT = TypeVar("_TupleT", bound=Tuple[object, ...])
|
|
@@ -63,7 +63,7 @@ def _extract_items(
|
|
|
63
63
|
try:
|
|
64
64
|
key = path[index]
|
|
65
65
|
except IndexError:
|
|
66
|
-
if
|
|
66
|
+
if not is_given(obj):
|
|
67
67
|
# no value was provided - we can safely ignore
|
|
68
68
|
return []
|
|
69
69
|
|
|
@@ -126,8 +126,8 @@ def _extract_items(
|
|
|
126
126
|
return []
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
def is_given(obj:
|
|
130
|
-
return not isinstance(obj, NotGiven)
|
|
129
|
+
def is_given(obj: _T | NotGiven | Omit) -> TypeGuard[_T]:
|
|
130
|
+
return not isinstance(obj, NotGiven) and not isinstance(obj, Omit)
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
# Type safe methods for narrowing types with TypeVars.
|
|
@@ -7,7 +7,7 @@ from typing import Any, Iterable, cast
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
9
9
|
from ...types import v1_sql_execute_params, v1_query_audit_logs_params
|
|
10
|
-
from ..._types import
|
|
10
|
+
from ..._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
11
11
|
from ..._utils import maybe_transform, async_maybe_transform
|
|
12
12
|
from ..._compat import cached_property
|
|
13
13
|
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -53,7 +53,7 @@ class V1Resource(SyncAPIResource):
|
|
|
53
53
|
extra_headers: Headers | None = None,
|
|
54
54
|
extra_query: Query | None = None,
|
|
55
55
|
extra_body: Body | None = None,
|
|
56
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
56
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
57
57
|
) -> V1QueryAuditLogsResponse:
|
|
58
58
|
"""Retrieves audit logs.
|
|
59
59
|
|
|
@@ -84,14 +84,14 @@ class V1Resource(SyncAPIResource):
|
|
|
84
84
|
self,
|
|
85
85
|
*,
|
|
86
86
|
query: str,
|
|
87
|
-
array_mode: bool |
|
|
88
|
-
params: Iterable[object] |
|
|
87
|
+
array_mode: bool | Omit = omit,
|
|
88
|
+
params: Iterable[object] | Omit = omit,
|
|
89
89
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
90
90
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
91
91
|
extra_headers: Headers | None = None,
|
|
92
92
|
extra_query: Query | None = None,
|
|
93
93
|
extra_body: Body | None = None,
|
|
94
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
94
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
95
95
|
) -> V1SqlExecuteResponse:
|
|
96
96
|
"""Allows execution of arbitrary SQL queries against the Sample database.
|
|
97
97
|
|
|
@@ -166,7 +166,7 @@ class AsyncV1Resource(AsyncAPIResource):
|
|
|
166
166
|
extra_headers: Headers | None = None,
|
|
167
167
|
extra_query: Query | None = None,
|
|
168
168
|
extra_body: Body | None = None,
|
|
169
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
169
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
170
170
|
) -> V1QueryAuditLogsResponse:
|
|
171
171
|
"""Retrieves audit logs.
|
|
172
172
|
|
|
@@ -197,14 +197,14 @@ class AsyncV1Resource(AsyncAPIResource):
|
|
|
197
197
|
self,
|
|
198
198
|
*,
|
|
199
199
|
query: str,
|
|
200
|
-
array_mode: bool |
|
|
201
|
-
params: Iterable[object] |
|
|
200
|
+
array_mode: bool | Omit = omit,
|
|
201
|
+
params: Iterable[object] | Omit = omit,
|
|
202
202
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
203
203
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
204
204
|
extra_headers: Headers | None = None,
|
|
205
205
|
extra_query: Query | None = None,
|
|
206
206
|
extra_body: Body | None = None,
|
|
207
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
207
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
208
208
|
) -> V1SqlExecuteResponse:
|
|
209
209
|
"""Allows execution of arbitrary SQL queries against the Sample database.
|
|
210
210
|
|