numind 0.1.2__tar.gz → 0.1.3__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.
- {numind-0.1.2 → numind-0.1.3}/.github/workflows/publish-pypi.yml +1 -1
- {numind-0.1.2 → numind-0.1.3}/.github/workflows/sdk-auto-update.yml +1 -1
- {numind-0.1.2 → numind-0.1.3}/.github/workflows/tests.yml +4 -3
- {numind-0.1.2 → numind-0.1.3}/PKG-INFO +1 -1
- {numind-0.1.2 → numind-0.1.3}/pyproject.toml +1 -1
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/gen_sdk.sh +9 -0
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/pyproject_base.toml +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/__init__.py +7 -7
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/default_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/documents_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/examples_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/extraction_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/files_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/inference_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/jobs_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/organizations_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/playground_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/project_management_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api_client.py +5 -5
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/rest.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/__init__.py +7 -9
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/default_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/documents_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/examples_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/extraction_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/files_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/inference_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/jobs_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/organizations_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/playground_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/project_management_api.py +1 -1
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api_client.py +5 -5
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/rest.py +1 -1
- numind-0.1.2/src/numind/openapi_client_async/api_response.py +0 -23
- numind-0.1.2/src/numind/openapi_client_async/exceptions.py +0 -218
- {numind-0.1.2 → numind-0.1.3}/.github/codecov.yml +0 -0
- {numind-0.1.2 → numind-0.1.3}/.github/dependabot.yml +0 -0
- {numind-0.1.2 → numind-0.1.3}/.github/workflows/lint.yml +0 -0
- {numind-0.1.2 → numind-0.1.3}/.github/workflows/update-api-build-version-repo-var.yml +0 -0
- {numind-0.1.2 → numind-0.1.3}/.gitignore +0 -0
- {numind-0.1.2 → numind-0.1.3}/LICENSE +0 -0
- {numind-0.1.2 → numind-0.1.3}/README.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ApiKeyResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ConvertRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/CreateApiKey.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/CreateOrUpdateExampleRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/CreateOrUpdatePlaygroundItemRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/CreateOrganizationRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/CreateProjectRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/DefaultApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/DocumentInfo.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/DocumentResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/DocumentsApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/Error.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ExampleResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ExamplesApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ExtractionApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ExtractionResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/FileResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/FilesApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/HealthResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ImageInfo.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/InferenceApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/InferenceResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/InformationResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/InvalidInformation.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/InvitationResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/InviteMemberRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/JobIdResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/JobResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/JobsApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/MemberResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/OrganizationResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/OrganizationsApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/PlaygroundApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/PlaygroundItemResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ProjectManagementApi.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ProjectResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ProjectSettingsResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/RawResult.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ServiceStatus.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/TemplateRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/TextInfo.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/TextRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/TokenCodeRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/TokenRefreshRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/TokenRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/TokenResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/UpdateApiKey.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/UpdateOrganizationRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/UpdateProjectRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/UpdateProjectSettingsRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/UpdateProjectTemplateRequest.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/User.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/ValidInformation.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/docs/VersionResponse.md +0 -0
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/.openapi-generator-ignore +0 -0
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/adapt_openapi_client_init.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/adapt_pyproject.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/collate_documentation_readme.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/config.json +0 -0
- {numind-0.1.2 → numind-0.1.3}/sdk_generation/remove_unused_models_from_openapi_spec_file.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/__init__.py +0 -0
- {numind-0.1.2/src/numind/openapi_client → numind-0.1.3/src/numind}/api_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/constants.py +0 -0
- {numind-0.1.2/src/numind/openapi_client → numind-0.1.3/src/numind}/exceptions.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/__init__.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/api_key_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/convert_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/create_api_key.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/create_or_update_example_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/create_or_update_playground_item_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/create_organization_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/create_project_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/document_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/document_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/error.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/example_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/extraction_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/file_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/health_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/image_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/inference_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/information_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/invalid_information.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/invitation_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/invite_member_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/job_id_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/job_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/member_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/organization_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/playground_item_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/project_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/project_settings_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/raw_result.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/service_status.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/template_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/text_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/text_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/token_code_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/token_refresh_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/token_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/token_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/update_api_key.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/update_organization_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/update_project_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/update_project_settings_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/update_project_template_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/user.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/valid_information.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/models/version_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/numind.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/api/__init__.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/configuration.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client/py.typed +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/api/__init__.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/configuration.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/src/numind/openapi_client_async/py.typed +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/__init__.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/conftest.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/__init__.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_api_key_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_convert_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_create_api_key.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_create_or_update_example_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_create_or_update_playground_item_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_create_organization_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_create_project_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_default_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_document_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_document_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_documents_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_error.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_example_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_examples_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_extraction_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_extraction_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_file_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_files_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_health_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_image_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_inference_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_inference_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_information_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_invalid_information.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_invitation_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_invite_member_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_job_id_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_job_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_jobs_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_member_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_organization_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_organizations_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_playground_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_playground_item_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_project_management_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_project_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_project_settings_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_raw_result.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_service_status.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_template_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_text_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_text_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_token_code_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_token_refresh_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_token_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_token_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_update_api_key.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_update_organization_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_update_project_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_update_project_settings_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_update_project_template_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_user.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_valid_information.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client/test_version_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/__init__.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_api_key_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_convert_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_create_api_key.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_create_or_update_example_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_create_or_update_playground_item_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_create_organization_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_create_project_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_default_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_document_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_document_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_documents_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_error.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_example_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_examples_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_extraction_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_extraction_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_file_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_files_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_health_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_image_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_inference_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_inference_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_information_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_invalid_information.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_invitation_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_invite_member_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_job_id_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_job_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_jobs_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_member_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_organization_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_organizations_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_playground_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_playground_item_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_project_management_api.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_project_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_project_settings_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_raw_result.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_service_status.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_template_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_text_info.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_text_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_token_code_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_token_refresh_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_token_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_token_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_update_api_key.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_update_organization_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_update_project_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_update_project_settings_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_update_project_template_request.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_user.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_valid_information.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/openapi_client_async/test_version_response.py +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/test_cases/vacation/examples.csv +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/test_cases/vacation/files/tahiti.docx +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/test_cases/vacation/files_examples/kyoto.docx +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/test_cases/vacation/schema.json +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/test_cases/vacation/texts.csv +0 -0
- {numind-0.1.2 → numind-0.1.3}/tests/test_project.py +0 -0
|
@@ -16,11 +16,14 @@ jobs:
|
|
|
16
16
|
python-version: ["3.10", "3.12"]
|
|
17
17
|
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
|
18
18
|
|
|
19
|
+
env:
|
|
20
|
+
NUMIND_API_KEY_TESTS: ${{ secrets.NUMIND_API_KEY_TESTS }}
|
|
21
|
+
|
|
19
22
|
steps:
|
|
20
23
|
- uses: actions/checkout@v5
|
|
21
24
|
|
|
22
25
|
- name: Install uv
|
|
23
|
-
uses: astral-sh/setup-uv@
|
|
26
|
+
uses: astral-sh/setup-uv@v7
|
|
24
27
|
with:
|
|
25
28
|
enable-cache: true
|
|
26
29
|
python-version: ${{ matrix.python-version }}
|
|
@@ -30,8 +33,6 @@ jobs:
|
|
|
30
33
|
|
|
31
34
|
- name: Run tests
|
|
32
35
|
run: uv run pytest tests --cov=./ --cov-report=xml --durations=0 --reruns=3
|
|
33
|
-
env:
|
|
34
|
-
NUMIND_API_KEY_TESTS: ${{ secrets.NUMIND_API_KEY_TESTS }}
|
|
35
36
|
|
|
36
37
|
#- name: Codecov
|
|
37
38
|
# uses: codecov/codecov-action@v5.4.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: numind
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: SDK to interact with the NuMind models API.
|
|
5
5
|
Project-URL: Homepage, https://github.com/numindai/nuextract-platform-sdk
|
|
6
6
|
Project-URL: Repository, https://github.com/numindai/nuextract-platform-sdk.git
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "numind"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "SDK to interact with the NuMind models API."
|
|
9
9
|
requires-python = ">=3.9"
|
|
10
10
|
keywords = [ "artificial intelligence", "deep learning", "structured",]
|
|
@@ -110,6 +110,10 @@ rm -r src/docs # already used the one from sync client gen
|
|
|
110
110
|
# Rename the imports paths in all files in the package, including tests and docs.
|
|
111
111
|
mv src/numind/openapi_client/models src/numind/models
|
|
112
112
|
rm -r src/numind/openapi_client_async/models
|
|
113
|
+
# Move exceptions.py and api_response.py
|
|
114
|
+
mv src/numind/openapi_client/api_response.py src/numind
|
|
115
|
+
mv src/numind/openapi_client/exceptions.py src/numind
|
|
116
|
+
rm src/numind/openapi_client_async/api_response.py src/numind/openapi_client_async/exceptions.py
|
|
113
117
|
# Find all Python and Markdown files, starting search from the current directory (.), recursively.
|
|
114
118
|
# Exclude files within the new 'sdk/models' directory.
|
|
115
119
|
find src docs tests -type f \( -name "*.py" -o -name "*.md" \) \
|
|
@@ -119,6 +123,11 @@ find src docs tests -type f \( -name "*.py" -o -name "*.md" \) \
|
|
|
119
123
|
sed -i.bak 's/numind.openapi_client.models/numind.models/g' "$file"
|
|
120
124
|
# Replace 'numind.openapi_client_async.models' with 'numind.models'
|
|
121
125
|
sed -i.bak 's/numind.openapi_client_async.models/numind.models/g' "$file"
|
|
126
|
+
# Replace imports of api_response and exceptions
|
|
127
|
+
sed -i.bak 's/numind.openapi_client.api_response/numind.api_response/g' "$file"
|
|
128
|
+
sed -i.bak 's/numind.openapi_client_async.api_response/numind.api_response/g' "$file"
|
|
129
|
+
sed -i.bak 's/numind.openapi_client.exceptions/numind.exceptions/g' "$file"
|
|
130
|
+
sed -i.bak 's/numind.openapi_client_async.exceptions/numind.exceptions/g' "$file"
|
|
122
131
|
# Remove backup file created by sed
|
|
123
132
|
rm -f "${file}.bak"
|
|
124
133
|
done
|
|
@@ -99,15 +99,15 @@ from numind.openapi_client.api.project_management_api import (
|
|
|
99
99
|
from numind.openapi_client.api.default_api import DefaultApi as DefaultApi
|
|
100
100
|
|
|
101
101
|
# import ApiClient
|
|
102
|
-
from numind.
|
|
102
|
+
from numind.api_response import ApiResponse as ApiResponse
|
|
103
103
|
from numind.openapi_client.api_client import ApiClient as ApiClient
|
|
104
104
|
from numind.openapi_client.configuration import Configuration as Configuration
|
|
105
|
-
from numind.
|
|
106
|
-
from numind.
|
|
107
|
-
from numind.
|
|
108
|
-
from numind.
|
|
109
|
-
from numind.
|
|
110
|
-
from numind.
|
|
105
|
+
from numind.exceptions import OpenApiException as OpenApiException
|
|
106
|
+
from numind.exceptions import ApiTypeError as ApiTypeError
|
|
107
|
+
from numind.exceptions import ApiValueError as ApiValueError
|
|
108
|
+
from numind.exceptions import ApiKeyError as ApiKeyError
|
|
109
|
+
from numind.exceptions import ApiAttributeError as ApiAttributeError
|
|
110
|
+
from numind.exceptions import ApiException as ApiException
|
|
111
111
|
|
|
112
112
|
# import models into sdk package
|
|
113
113
|
from numind.models.api_key_response import ApiKeyResponse as ApiKeyResponse
|
|
@@ -13,10 +13,10 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.health_response import HealthResponse
|
|
17
18
|
from numind.models.version_response import VersionResponse
|
|
18
19
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
19
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
20
20
|
from numind.openapi_client.rest import RESTResponseType
|
|
21
21
|
|
|
22
22
|
|
|
@@ -13,10 +13,10 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.document_response import DocumentResponse
|
|
17
18
|
from numind.models.text_request import TextRequest
|
|
18
19
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
19
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
20
20
|
from numind.openapi_client.rest import RESTResponseType
|
|
21
21
|
|
|
22
22
|
|
|
@@ -13,10 +13,10 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_or_update_example_request import CreateOrUpdateExampleRequest
|
|
17
18
|
from numind.models.example_response import ExampleResponse
|
|
18
19
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
19
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
20
20
|
from numind.openapi_client.rest import RESTResponseType
|
|
21
21
|
|
|
22
22
|
|
|
@@ -20,10 +20,10 @@ from pydantic import (
|
|
|
20
20
|
validate_call,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
+
from numind.api_response import ApiResponse
|
|
23
24
|
from numind.models.extraction_response import ExtractionResponse
|
|
24
25
|
from numind.models.job_id_response import JobIdResponse
|
|
25
26
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
26
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
27
27
|
from numind.openapi_client.rest import RESTResponseType
|
|
28
28
|
|
|
29
29
|
|
|
@@ -20,11 +20,11 @@ from pydantic import (
|
|
|
20
20
|
validate_call,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
+
from numind.api_response import ApiResponse
|
|
23
24
|
from numind.models.convert_request import ConvertRequest
|
|
24
25
|
from numind.models.document_response import DocumentResponse
|
|
25
26
|
from numind.models.file_response import FileResponse
|
|
26
27
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
27
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
28
28
|
from numind.openapi_client.rest import RESTResponseType
|
|
29
29
|
|
|
30
30
|
|
|
@@ -20,12 +20,12 @@ from pydantic import (
|
|
|
20
20
|
validate_call,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
+
from numind.api_response import ApiResponse
|
|
23
24
|
from numind.models.inference_response import InferenceResponse
|
|
24
25
|
from numind.models.job_id_response import JobIdResponse
|
|
25
26
|
from numind.models.template_request import TemplateRequest
|
|
26
27
|
from numind.models.text_request import TextRequest
|
|
27
28
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
28
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
29
29
|
from numind.openapi_client.rest import RESTResponseType
|
|
30
30
|
|
|
31
31
|
|
|
@@ -13,9 +13,9 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.job_response import JobResponse
|
|
17
18
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
18
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
19
19
|
from numind.openapi_client.rest import RESTResponseType
|
|
20
20
|
|
|
21
21
|
|
|
@@ -13,6 +13,7 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_organization_request import CreateOrganizationRequest
|
|
17
18
|
from numind.models.invitation_response import InvitationResponse
|
|
18
19
|
from numind.models.invite_member_request import InviteMemberRequest
|
|
@@ -20,7 +21,6 @@ from numind.models.member_response import MemberResponse
|
|
|
20
21
|
from numind.models.organization_response import OrganizationResponse
|
|
21
22
|
from numind.models.update_organization_request import UpdateOrganizationRequest
|
|
22
23
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
23
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
24
24
|
from numind.openapi_client.rest import RESTResponseType
|
|
25
25
|
|
|
26
26
|
|
|
@@ -13,12 +13,12 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_or_update_playground_item_request import (
|
|
17
18
|
CreateOrUpdatePlaygroundItemRequest,
|
|
18
19
|
)
|
|
19
20
|
from numind.models.playground_item_response import PlaygroundItemResponse
|
|
20
21
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
21
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
22
22
|
from numind.openapi_client.rest import RESTResponseType
|
|
23
23
|
|
|
24
24
|
|
|
@@ -13,13 +13,13 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_project_request import CreateProjectRequest
|
|
17
18
|
from numind.models.project_response import ProjectResponse
|
|
18
19
|
from numind.models.update_project_request import UpdateProjectRequest
|
|
19
20
|
from numind.models.update_project_settings_request import UpdateProjectSettingsRequest
|
|
20
21
|
from numind.models.update_project_template_request import UpdateProjectTemplateRequest
|
|
21
22
|
from numind.openapi_client.api_client import ApiClient, RequestSerialized
|
|
22
|
-
from numind.openapi_client.api_response import ApiResponse
|
|
23
23
|
from numind.openapi_client.rest import RESTResponseType
|
|
24
24
|
|
|
25
25
|
|
|
@@ -25,14 +25,14 @@ from dateutil.parser import parse
|
|
|
25
25
|
from pydantic import SecretStr
|
|
26
26
|
|
|
27
27
|
import numind.models
|
|
28
|
-
from numind.
|
|
29
|
-
from numind.
|
|
30
|
-
from numind.
|
|
31
|
-
from numind.openapi_client.configuration import Configuration
|
|
32
|
-
from numind.openapi_client.exceptions import (
|
|
28
|
+
from numind.api_response import ApiResponse
|
|
29
|
+
from numind.api_response import T as ApiResponseT
|
|
30
|
+
from numind.exceptions import (
|
|
33
31
|
ApiException,
|
|
34
32
|
ApiValueError,
|
|
35
33
|
)
|
|
34
|
+
from numind.openapi_client import rest
|
|
35
|
+
from numind.openapi_client.configuration import Configuration
|
|
36
36
|
|
|
37
37
|
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
|
|
38
38
|
|
|
@@ -16,7 +16,7 @@ import ssl
|
|
|
16
16
|
|
|
17
17
|
import urllib3
|
|
18
18
|
|
|
19
|
-
from numind.
|
|
19
|
+
from numind.exceptions import ApiException, ApiValueError
|
|
20
20
|
|
|
21
21
|
SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"}
|
|
22
22
|
RESTResponseType = urllib3.HTTPResponse
|
|
@@ -103,17 +103,15 @@ from numind.openapi_client_async.api.project_management_api import (
|
|
|
103
103
|
from numind.openapi_client_async.api.default_api import DefaultApi as DefaultApi
|
|
104
104
|
|
|
105
105
|
# import ApiClient
|
|
106
|
-
from numind.
|
|
106
|
+
from numind.api_response import ApiResponse as ApiResponse
|
|
107
107
|
from numind.openapi_client_async.api_client import ApiClient as ApiClient
|
|
108
108
|
from numind.openapi_client_async.configuration import Configuration as Configuration
|
|
109
|
-
from numind.
|
|
110
|
-
from numind.
|
|
111
|
-
from numind.
|
|
112
|
-
from numind.
|
|
113
|
-
from numind.
|
|
114
|
-
|
|
115
|
-
)
|
|
116
|
-
from numind.openapi_client_async.exceptions import ApiException as ApiException
|
|
109
|
+
from numind.exceptions import OpenApiException as OpenApiException
|
|
110
|
+
from numind.exceptions import ApiTypeError as ApiTypeError
|
|
111
|
+
from numind.exceptions import ApiValueError as ApiValueError
|
|
112
|
+
from numind.exceptions import ApiKeyError as ApiKeyError
|
|
113
|
+
from numind.exceptions import ApiAttributeError as ApiAttributeError
|
|
114
|
+
from numind.exceptions import ApiException as ApiException
|
|
117
115
|
|
|
118
116
|
# import models into sdk package
|
|
119
117
|
from numind.models.api_key_response import ApiKeyResponse as ApiKeyResponse
|
|
@@ -13,10 +13,10 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.health_response import HealthResponse
|
|
17
18
|
from numind.models.version_response import VersionResponse
|
|
18
19
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
19
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
20
20
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
21
21
|
|
|
22
22
|
|
|
@@ -13,10 +13,10 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.document_response import DocumentResponse
|
|
17
18
|
from numind.models.text_request import TextRequest
|
|
18
19
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
19
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
20
20
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
21
21
|
|
|
22
22
|
|
|
@@ -13,10 +13,10 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_or_update_example_request import CreateOrUpdateExampleRequest
|
|
17
18
|
from numind.models.example_response import ExampleResponse
|
|
18
19
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
19
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
20
20
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
21
21
|
|
|
22
22
|
|
|
@@ -20,10 +20,10 @@ from pydantic import (
|
|
|
20
20
|
validate_call,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
+
from numind.api_response import ApiResponse
|
|
23
24
|
from numind.models.extraction_response import ExtractionResponse
|
|
24
25
|
from numind.models.job_id_response import JobIdResponse
|
|
25
26
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
26
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
27
27
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
28
28
|
|
|
29
29
|
|
|
@@ -20,11 +20,11 @@ from pydantic import (
|
|
|
20
20
|
validate_call,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
+
from numind.api_response import ApiResponse
|
|
23
24
|
from numind.models.convert_request import ConvertRequest
|
|
24
25
|
from numind.models.document_response import DocumentResponse
|
|
25
26
|
from numind.models.file_response import FileResponse
|
|
26
27
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
27
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
28
28
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
29
29
|
|
|
30
30
|
|
|
@@ -20,12 +20,12 @@ from pydantic import (
|
|
|
20
20
|
validate_call,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
+
from numind.api_response import ApiResponse
|
|
23
24
|
from numind.models.inference_response import InferenceResponse
|
|
24
25
|
from numind.models.job_id_response import JobIdResponse
|
|
25
26
|
from numind.models.template_request import TemplateRequest
|
|
26
27
|
from numind.models.text_request import TextRequest
|
|
27
28
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
28
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
29
29
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
30
30
|
|
|
31
31
|
|
|
@@ -13,9 +13,9 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.job_response import JobResponse
|
|
17
18
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
18
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
19
19
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
20
20
|
|
|
21
21
|
|
|
@@ -13,6 +13,7 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_organization_request import CreateOrganizationRequest
|
|
17
18
|
from numind.models.invitation_response import InvitationResponse
|
|
18
19
|
from numind.models.invite_member_request import InviteMemberRequest
|
|
@@ -20,7 +21,6 @@ from numind.models.member_response import MemberResponse
|
|
|
20
21
|
from numind.models.organization_response import OrganizationResponse
|
|
21
22
|
from numind.models.update_organization_request import UpdateOrganizationRequest
|
|
22
23
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
23
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
24
24
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
25
25
|
|
|
26
26
|
|
|
@@ -13,12 +13,12 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_or_update_playground_item_request import (
|
|
17
18
|
CreateOrUpdatePlaygroundItemRequest,
|
|
18
19
|
)
|
|
19
20
|
from numind.models.playground_item_response import PlaygroundItemResponse
|
|
20
21
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
21
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
22
22
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
23
23
|
|
|
24
24
|
|
|
@@ -13,13 +13,13 @@ from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, validate_call
|
|
15
15
|
|
|
16
|
+
from numind.api_response import ApiResponse
|
|
16
17
|
from numind.models.create_project_request import CreateProjectRequest
|
|
17
18
|
from numind.models.project_response import ProjectResponse
|
|
18
19
|
from numind.models.update_project_request import UpdateProjectRequest
|
|
19
20
|
from numind.models.update_project_settings_request import UpdateProjectSettingsRequest
|
|
20
21
|
from numind.models.update_project_template_request import UpdateProjectTemplateRequest
|
|
21
22
|
from numind.openapi_client_async.api_client import ApiClient, RequestSerialized
|
|
22
|
-
from numind.openapi_client_async.api_response import ApiResponse
|
|
23
23
|
from numind.openapi_client_async.rest import RESTResponseType
|
|
24
24
|
|
|
25
25
|
|
|
@@ -25,14 +25,14 @@ from dateutil.parser import parse
|
|
|
25
25
|
from pydantic import SecretStr
|
|
26
26
|
|
|
27
27
|
import numind.models
|
|
28
|
-
from numind.
|
|
29
|
-
from numind.
|
|
30
|
-
from numind.
|
|
31
|
-
from numind.openapi_client_async.configuration import Configuration
|
|
32
|
-
from numind.openapi_client_async.exceptions import (
|
|
28
|
+
from numind.api_response import ApiResponse
|
|
29
|
+
from numind.api_response import T as ApiResponseT
|
|
30
|
+
from numind.exceptions import (
|
|
33
31
|
ApiException,
|
|
34
32
|
ApiValueError,
|
|
35
33
|
)
|
|
34
|
+
from numind.openapi_client_async import rest
|
|
35
|
+
from numind.openapi_client_async.configuration import Configuration
|
|
36
36
|
|
|
37
37
|
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
|
|
38
38
|
|
|
@@ -18,7 +18,7 @@ from typing import Optional, Union
|
|
|
18
18
|
import aiohttp
|
|
19
19
|
import aiohttp_retry
|
|
20
20
|
|
|
21
|
-
from numind.
|
|
21
|
+
from numind.exceptions import ApiException, ApiValueError
|
|
22
22
|
|
|
23
23
|
RESTResponseType = aiohttp.ClientResponse
|
|
24
24
|
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"""API response object."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from collections.abc import Mapping
|
|
6
|
-
from typing import Generic, Optional, TypeVar
|
|
7
|
-
|
|
8
|
-
from pydantic import BaseModel, Field, StrictBytes, StrictInt
|
|
9
|
-
|
|
10
|
-
T = TypeVar("T")
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ApiResponse(BaseModel, Generic[T]):
|
|
14
|
-
"""
|
|
15
|
-
API response object
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
status_code: StrictInt = Field(description="HTTP status code")
|
|
19
|
-
headers: Optional[Mapping[str, str]] = Field(None, description="HTTP headers")
|
|
20
|
-
data: T = Field(description="Deserialized data given the data type")
|
|
21
|
-
raw_data: StrictBytes = Field(description="Raw data (HTTP response body)")
|
|
22
|
-
|
|
23
|
-
model_config = {"arbitrary_types_allowed": True}
|