studyfetch-sdk 0.1.0a5__tar.gz → 0.1.0a6__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.
- studyfetch_sdk-0.1.0a6/.release-please-manifest.json +3 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/CHANGELOG.md +10 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/PKG-INFO +28 -12
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/README.md +27 -11
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/api.md +53 -62
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/pyproject.toml +1 -1
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_version.py +1 -1
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/chat/chat.py +13 -15
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/components.py +40 -37
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/explainers.py +80 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/flashcards.py +15 -15
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/materials/materials.py +19 -20
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/materials/upload.py +19 -20
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/scenarios/scenarios.py +13 -13
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py +50 -50
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/__init__.py +7 -12
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/chat_retrieve_session_params.py → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/chat_get_session_params.py +2 -2
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/component_create_response.py → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/component.py +2 -2
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/component_embed_params.py → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/component_generate_embed_params.py +2 -2
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/component_embed_response.py → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/component_generate_embed_response.py +2 -2
- studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/component_list_response.py +10 -0
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py +2 -2
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/material_create_response.py → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/material.py +2 -2
- studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/material_list_response.py +10 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/materials/__init__.py +0 -2
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/scenario_submit_params.py → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/scenario_submit_answer_params.py +2 -2
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/audio_recaps/test_sections.py +16 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/auth/test_number_2fa.py +6 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/chat/test_sessions.py +14 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/chat/test_test.py +12 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/embed/test_component.py +16 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/materials/test_bulk.py +6 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/materials/test_test.py +24 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/materials/test_upload.py +57 -32
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/scenarios/submissions/test_user.py +64 -50
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/scenarios/test_component.py +26 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/scenarios/test_sessions.py +16 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_audio_recaps.py +22 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_auth.py +6 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_chat.py +52 -16
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_components.py +128 -54
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_embed.py +18 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_explainers.py +100 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_flashcards.py +81 -19
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_folders.py +64 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_materials.py +111 -28
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_scenarios.py +78 -20
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_tests.py +54 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/test_usage.py +24 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/tests/test_component.py +8 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/api_resources/v1/upload/test_component.py +32 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_client.py +29 -27
- studyfetch_sdk-0.1.0a5/.release-please-manifest.json +0 -3
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/__init__.py +0 -3
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/admin/__init__.py +0 -3
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/admin/organizations/__init__.py +0 -3
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/admin/organizations/models/__init__.py +0 -3
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -3
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/component_list_response.py +0 -51
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/component_retrieve_response.py +0 -48
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/component_update_response.py +0 -48
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/material_list_response.py +0 -65
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/material_retrieve_response.py +0 -62
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/materials/upload_upload_file_response.py +0 -62
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py +0 -62
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/organizations/__init__.py +0 -3
- studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/organizations/logo/__init__.py +0 -3
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/.gitignore +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/CONTRIBUTING.md +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/LICENSE +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/SECURITY.md +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/bin/check-release-environment +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/bin/publish-pypi +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/examples/.keep +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/mypy.ini +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/noxfile.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/release-please-config.json +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/requirements-dev.lock +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/requirements.lock +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_base_client.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_client.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_compat.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_constants.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_exceptions.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_files.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_models.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_qs.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_resource.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_response.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_types.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_logs.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_reflection.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_resources_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_streams.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_sync.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_transform.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_typing.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/_utils/_utils.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/lib/.keep +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/py.typed +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/__init__.py +12 -12
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/auth/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/auth/auth.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/auth/number_2fa.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/chat/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/chat/test.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/embed/component.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/embed/embed.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/folders.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/materials/bulk.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/materials/test.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/scenarios/component.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/tests/component.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/tests/tests.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/upload/component.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/upload/upload.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/usage.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/v1.py +48 -48
- {studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/upload → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/tests → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/audio_recaps}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/auth/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/chat_send_message_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/chat_stream_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/component_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/component_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/embed/component_interact_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/embed/component_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/embed_get_theme_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/embed_verify_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/explainer_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/folder_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/folder_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/folder_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/material_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/material_get_download_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/material_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/scenario_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/scenario_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/test_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/test_retake_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/test_submit_params.py +0 -0
- {studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/organizations/team → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/tests}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/src/studyfetch_sdk/types/v1/organizations/profile → studyfetch_sdk-0.1.0a6/src/studyfetch_sdk/types/v1/upload}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/usage_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/usage_get_summary_params.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/types/v1/usage_list_events_params.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/upload → studyfetch_sdk-0.1.0a6/tests}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/tests → studyfetch_sdk-0.1.0a6/tests/api_resources}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/scenarios/submissions → studyfetch_sdk-0.1.0a6/tests/api_resources/v1}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/scenarios → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/audio_recaps}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/materials → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/auth}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/embed → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/chat}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/chat → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/embed}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/auth → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/materials}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1/audio_recaps → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/scenarios}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources/v1 → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/scenarios/submissions}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests/api_resources → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/tests}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5/tests → studyfetch_sdk-0.1.0a6/tests/api_resources/v1/upload}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/conftest.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/sample_file.txt +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_deepcopy.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_extract_files.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_files.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_models.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_qs.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_required_args.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_response.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_transform.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_utils/test_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/test_utils/test_typing.py +0 -0
- {studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/tests/utils.py +0 -0
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.6 (2025-07-20)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([bfe5ea5](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/bfe5ea57c3791889ceb0256b004b4cc55357b0e7))
|
10
|
+
* **api:** manual updates ([efade2c](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/efade2c650c84da705e4707664b45e8b675860e1))
|
11
|
+
* **api:** manual updates ([6199f6a](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/6199f6a98e6252700e0ec231856655b467d9ac97))
|
12
|
+
|
3
13
|
## 0.1.0-alpha.5 (2025-07-20)
|
4
14
|
|
5
15
|
Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: studyfetch_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a6
|
4
4
|
Summary: The official Python library for the studyfetch-sdk API
|
5
5
|
Project-URL: Homepage, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
|
6
6
|
Project-URL: Repository, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
|
@@ -46,7 +46,7 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
46
46
|
|
47
47
|
## Documentation
|
48
48
|
|
49
|
-
The
|
49
|
+
The full API of this library can be found in [api.md](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/api.md).
|
50
50
|
|
51
51
|
## Installation
|
52
52
|
|
@@ -67,7 +67,9 @@ client = StudyfetchSDK(
|
|
67
67
|
api_key=os.environ.get("STUDYFETCH_SDK_API_KEY"), # This is the default and can be omitted
|
68
68
|
)
|
69
69
|
|
70
|
-
client.v1.auth.
|
70
|
+
client.v1.auth.number_2fa.send_code(
|
71
|
+
email="user@example.com",
|
72
|
+
)
|
71
73
|
```
|
72
74
|
|
73
75
|
While you can provide an `api_key` keyword argument,
|
@@ -90,7 +92,9 @@ client = AsyncStudyfetchSDK(
|
|
90
92
|
|
91
93
|
|
92
94
|
async def main() -> None:
|
93
|
-
await client.v1.auth.
|
95
|
+
await client.v1.auth.number_2fa.send_code(
|
96
|
+
email="user@example.com",
|
97
|
+
)
|
94
98
|
|
95
99
|
|
96
100
|
asyncio.run(main())
|
@@ -122,7 +126,9 @@ async def main() -> None:
|
|
122
126
|
api_key="My API Key",
|
123
127
|
http_client=DefaultAioHttpClient(),
|
124
128
|
) as client:
|
125
|
-
await client.v1.auth.
|
129
|
+
await client.v1.auth.number_2fa.send_code(
|
130
|
+
email="user@example.com",
|
131
|
+
)
|
126
132
|
|
127
133
|
|
128
134
|
asyncio.run(main())
|
@@ -187,7 +193,9 @@ from studyfetch_sdk import StudyfetchSDK
|
|
187
193
|
client = StudyfetchSDK()
|
188
194
|
|
189
195
|
try:
|
190
|
-
client.v1.auth.
|
196
|
+
client.v1.auth.number_2fa.send_code(
|
197
|
+
email="user@example.com",
|
198
|
+
)
|
191
199
|
except studyfetch_sdk.APIConnectionError as e:
|
192
200
|
print("The server could not be reached")
|
193
201
|
print(e.__cause__) # an underlying Exception, likely raised within httpx.
|
@@ -230,7 +238,9 @@ client = StudyfetchSDK(
|
|
230
238
|
)
|
231
239
|
|
232
240
|
# Or, configure per-request:
|
233
|
-
client.with_options(max_retries=5).v1.auth.
|
241
|
+
client.with_options(max_retries=5).v1.auth.number_2fa.send_code(
|
242
|
+
email="user@example.com",
|
243
|
+
)
|
234
244
|
```
|
235
245
|
|
236
246
|
### Timeouts
|
@@ -253,7 +263,9 @@ client = StudyfetchSDK(
|
|
253
263
|
)
|
254
264
|
|
255
265
|
# Override per-request:
|
256
|
-
client.with_options(timeout=5.0).v1.auth.
|
266
|
+
client.with_options(timeout=5.0).v1.auth.number_2fa.send_code(
|
267
|
+
email="user@example.com",
|
268
|
+
)
|
257
269
|
```
|
258
270
|
|
259
271
|
On timeout, an `APITimeoutError` is thrown.
|
@@ -294,11 +306,13 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
294
306
|
from studyfetch_sdk import StudyfetchSDK
|
295
307
|
|
296
308
|
client = StudyfetchSDK()
|
297
|
-
response = client.v1.auth.with_raw_response.
|
309
|
+
response = client.v1.auth.number_2fa.with_raw_response.send_code(
|
310
|
+
email="user@example.com",
|
311
|
+
)
|
298
312
|
print(response.headers.get('X-My-Header'))
|
299
313
|
|
300
|
-
|
301
|
-
print(
|
314
|
+
number_2fa = response.parse() # get the object that `v1.auth.number_2fa.send_code()` would have returned
|
315
|
+
print(number_2fa)
|
302
316
|
```
|
303
317
|
|
304
318
|
These methods return an [`APIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) object.
|
@@ -312,7 +326,9 @@ The above interface eagerly reads the full response body when you make the reque
|
|
312
326
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
313
327
|
|
314
328
|
```python
|
315
|
-
with client.v1.auth.with_streaming_response.
|
329
|
+
with client.v1.auth.number_2fa.with_streaming_response.send_code(
|
330
|
+
email="user@example.com",
|
331
|
+
) as response:
|
316
332
|
print(response.headers.get("X-My-Header"))
|
317
333
|
|
318
334
|
for line in response.iter_lines():
|
@@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
11
11
|
|
12
12
|
## Documentation
|
13
13
|
|
14
|
-
The
|
14
|
+
The full API of this library can be found in [api.md](api.md).
|
15
15
|
|
16
16
|
## Installation
|
17
17
|
|
@@ -32,7 +32,9 @@ client = StudyfetchSDK(
|
|
32
32
|
api_key=os.environ.get("STUDYFETCH_SDK_API_KEY"), # This is the default and can be omitted
|
33
33
|
)
|
34
34
|
|
35
|
-
client.v1.auth.
|
35
|
+
client.v1.auth.number_2fa.send_code(
|
36
|
+
email="user@example.com",
|
37
|
+
)
|
36
38
|
```
|
37
39
|
|
38
40
|
While you can provide an `api_key` keyword argument,
|
@@ -55,7 +57,9 @@ client = AsyncStudyfetchSDK(
|
|
55
57
|
|
56
58
|
|
57
59
|
async def main() -> None:
|
58
|
-
await client.v1.auth.
|
60
|
+
await client.v1.auth.number_2fa.send_code(
|
61
|
+
email="user@example.com",
|
62
|
+
)
|
59
63
|
|
60
64
|
|
61
65
|
asyncio.run(main())
|
@@ -87,7 +91,9 @@ async def main() -> None:
|
|
87
91
|
api_key="My API Key",
|
88
92
|
http_client=DefaultAioHttpClient(),
|
89
93
|
) as client:
|
90
|
-
await client.v1.auth.
|
94
|
+
await client.v1.auth.number_2fa.send_code(
|
95
|
+
email="user@example.com",
|
96
|
+
)
|
91
97
|
|
92
98
|
|
93
99
|
asyncio.run(main())
|
@@ -152,7 +158,9 @@ from studyfetch_sdk import StudyfetchSDK
|
|
152
158
|
client = StudyfetchSDK()
|
153
159
|
|
154
160
|
try:
|
155
|
-
client.v1.auth.
|
161
|
+
client.v1.auth.number_2fa.send_code(
|
162
|
+
email="user@example.com",
|
163
|
+
)
|
156
164
|
except studyfetch_sdk.APIConnectionError as e:
|
157
165
|
print("The server could not be reached")
|
158
166
|
print(e.__cause__) # an underlying Exception, likely raised within httpx.
|
@@ -195,7 +203,9 @@ client = StudyfetchSDK(
|
|
195
203
|
)
|
196
204
|
|
197
205
|
# Or, configure per-request:
|
198
|
-
client.with_options(max_retries=5).v1.auth.
|
206
|
+
client.with_options(max_retries=5).v1.auth.number_2fa.send_code(
|
207
|
+
email="user@example.com",
|
208
|
+
)
|
199
209
|
```
|
200
210
|
|
201
211
|
### Timeouts
|
@@ -218,7 +228,9 @@ client = StudyfetchSDK(
|
|
218
228
|
)
|
219
229
|
|
220
230
|
# Override per-request:
|
221
|
-
client.with_options(timeout=5.0).v1.auth.
|
231
|
+
client.with_options(timeout=5.0).v1.auth.number_2fa.send_code(
|
232
|
+
email="user@example.com",
|
233
|
+
)
|
222
234
|
```
|
223
235
|
|
224
236
|
On timeout, an `APITimeoutError` is thrown.
|
@@ -259,11 +271,13 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
259
271
|
from studyfetch_sdk import StudyfetchSDK
|
260
272
|
|
261
273
|
client = StudyfetchSDK()
|
262
|
-
response = client.v1.auth.with_raw_response.
|
274
|
+
response = client.v1.auth.number_2fa.with_raw_response.send_code(
|
275
|
+
email="user@example.com",
|
276
|
+
)
|
263
277
|
print(response.headers.get('X-My-Header'))
|
264
278
|
|
265
|
-
|
266
|
-
print(
|
279
|
+
number_2fa = response.parse() # get the object that `v1.auth.number_2fa.send_code()` would have returned
|
280
|
+
print(number_2fa)
|
267
281
|
```
|
268
282
|
|
269
283
|
These methods return an [`APIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) object.
|
@@ -277,7 +291,9 @@ The above interface eagerly reads the full response body when you make the reque
|
|
277
291
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
278
292
|
|
279
293
|
```python
|
280
|
-
with client.v1.auth.with_streaming_response.
|
294
|
+
with client.v1.auth.number_2fa.with_streaming_response.send_code(
|
295
|
+
email="user@example.com",
|
296
|
+
) as response:
|
281
297
|
print(response.headers.get("X-My-Header"))
|
282
298
|
|
283
299
|
for line in response.iter_lines():
|
@@ -17,20 +17,16 @@ Methods:
|
|
17
17
|
Types:
|
18
18
|
|
19
19
|
```python
|
20
|
-
from studyfetch_sdk.types.v1 import
|
21
|
-
MaterialCreateResponse,
|
22
|
-
MaterialRetrieveResponse,
|
23
|
-
MaterialListResponse,
|
24
|
-
)
|
20
|
+
from studyfetch_sdk.types.v1 import Material, MaterialListResponse
|
25
21
|
```
|
26
22
|
|
27
23
|
Methods:
|
28
24
|
|
29
|
-
- <code title="post /api/v1/materials">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/material_create_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/
|
30
|
-
- <code title="get /api/v1/materials/{id}">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">retrieve</a>(id) -> <a href="./src/studyfetch_sdk/types/v1/
|
25
|
+
- <code title="post /api/v1/materials">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/material_create_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
26
|
+
- <code title="get /api/v1/materials/{id}">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">retrieve</a>(id) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
31
27
|
- <code title="get /api/v1/materials">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">list</a>(\*\*<a href="src/studyfetch_sdk/types/v1/material_list_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material_list_response.py">MaterialListResponse</a></code>
|
32
28
|
- <code title="delete /api/v1/materials/{id}">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">delete</a>(id) -> None</code>
|
33
|
-
- <code title="post /api/v1/materials/batch">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">
|
29
|
+
- <code title="post /api/v1/materials/batch">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">batch_create</a>() -> None</code>
|
34
30
|
- <code title="get /api/v1/materials/{id}/debug">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">debug</a>(id) -> None</code>
|
35
31
|
- <code title="get /api/v1/materials/{id}/download-url">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">get_download_url</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/material_get_download_url_params.py">params</a>) -> None</code>
|
36
32
|
- <code title="post /api/v1/materials/{id}/move">client.v1.materials.<a href="./src/studyfetch_sdk/resources/v1/materials/materials.py">move</a>(id) -> None</code>
|
@@ -40,18 +36,12 @@ Methods:
|
|
40
36
|
|
41
37
|
### Upload
|
42
38
|
|
43
|
-
Types:
|
44
|
-
|
45
|
-
```python
|
46
|
-
from studyfetch_sdk.types.v1.materials import UploadUploadFileResponse, UploadUploadFromURLResponse
|
47
|
-
```
|
48
|
-
|
49
39
|
Methods:
|
50
40
|
|
51
41
|
- <code title="post /api/v1/materials/upload/complete">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">complete_upload</a>() -> None</code>
|
52
|
-
- <code title="post /api/v1/materials/upload/presigned-url">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">
|
53
|
-
- <code title="post /api/v1/materials/upload">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">upload_file</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/
|
54
|
-
- <code title="post /api/v1/materials/upload/url">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">upload_from_url</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/
|
42
|
+
- <code title="post /api/v1/materials/upload/presigned-url">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">create_presigned_url</a>() -> None</code>
|
43
|
+
- <code title="post /api/v1/materials/upload">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">upload_file</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
44
|
+
- <code title="post /api/v1/materials/upload/url">client.v1.materials.upload.<a href="./src/studyfetch_sdk/resources/v1/materials/upload.py">upload_from_url</a>(\*\*<a href="src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/material.py">Material</a></code>
|
55
45
|
|
56
46
|
### Bulk
|
57
47
|
|
@@ -68,14 +58,6 @@ Methods:
|
|
68
58
|
- <code title="post /api/v1/materials/test/image-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_image</a>() -> None</code>
|
69
59
|
- <code title="post /api/v1/materials/test/video-processing">client.v1.materials.test.<a href="./src/studyfetch_sdk/resources/v1/materials/test.py">process_video</a>() -> None</code>
|
70
60
|
|
71
|
-
## Usage
|
72
|
-
|
73
|
-
Methods:
|
74
|
-
|
75
|
-
- <code title="get /api/v1/usage/stats">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">get_stats</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_get_stats_params.py">params</a>) -> None</code>
|
76
|
-
- <code title="get /api/v1/usage/summary">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">get_summary</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_get_summary_params.py">params</a>) -> None</code>
|
77
|
-
- <code title="get /api/v1/usage/events">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">list_events</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_list_events_params.py">params</a>) -> None</code>
|
78
|
-
|
79
61
|
## Folders
|
80
62
|
|
81
63
|
Methods:
|
@@ -94,27 +76,29 @@ Methods:
|
|
94
76
|
Types:
|
95
77
|
|
96
78
|
```python
|
97
|
-
from studyfetch_sdk.types.v1 import
|
98
|
-
ComponentCreateResponse,
|
99
|
-
ComponentRetrieveResponse,
|
100
|
-
ComponentUpdateResponse,
|
101
|
-
ComponentListResponse,
|
102
|
-
ComponentEmbedResponse,
|
103
|
-
)
|
79
|
+
from studyfetch_sdk.types.v1 import Component, ComponentListResponse, ComponentGenerateEmbedResponse
|
104
80
|
```
|
105
81
|
|
106
82
|
Methods:
|
107
83
|
|
108
|
-
- <code title="post /api/v1/components">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/component_create_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/
|
109
|
-
- <code title="get /api/v1/components/{id}">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">retrieve</a>(id) -> <a href="./src/studyfetch_sdk/types/v1/
|
110
|
-
- <code title="patch /api/v1/components/{id}">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">update</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/component_update_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/
|
84
|
+
- <code title="post /api/v1/components">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/component_create_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/component.py">Component</a></code>
|
85
|
+
- <code title="get /api/v1/components/{id}">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">retrieve</a>(id) -> <a href="./src/studyfetch_sdk/types/v1/component.py">Component</a></code>
|
86
|
+
- <code title="patch /api/v1/components/{id}">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">update</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/component_update_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/component.py">Component</a></code>
|
111
87
|
- <code title="get /api/v1/components">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">list</a>(\*\*<a href="src/studyfetch_sdk/types/v1/component_list_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/component_list_response.py">ComponentListResponse</a></code>
|
112
88
|
- <code title="delete /api/v1/components/{id}">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">delete</a>(id) -> None</code>
|
113
89
|
- <code title="post /api/v1/components/{id}/activate">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">activate</a>(id) -> None</code>
|
114
90
|
- <code title="post /api/v1/components/{id}/deactivate">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">deactivate</a>(id) -> None</code>
|
115
|
-
- <code title="post /api/v1/components/{id}/embed">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">
|
91
|
+
- <code title="post /api/v1/components/{id}/embed">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">generate_embed</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/component_generate_embed_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/component_generate_embed_response.py">ComponentGenerateEmbedResponse</a></code>
|
116
92
|
- <code title="post /api/v1/components/{id}/interact">client.v1.components.<a href="./src/studyfetch_sdk/resources/v1/components.py">interact</a>(id) -> None</code>
|
117
93
|
|
94
|
+
## Usage
|
95
|
+
|
96
|
+
Methods:
|
97
|
+
|
98
|
+
- <code title="get /api/v1/usage/stats">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">get_stats</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_get_stats_params.py">params</a>) -> None</code>
|
99
|
+
- <code title="get /api/v1/usage/summary">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">get_summary</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_get_summary_params.py">params</a>) -> None</code>
|
100
|
+
- <code title="get /api/v1/usage/events">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">list_events</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_list_events_params.py">params</a>) -> None</code>
|
101
|
+
|
118
102
|
## Embed
|
119
103
|
|
120
104
|
Methods:
|
@@ -135,7 +119,7 @@ Methods:
|
|
135
119
|
Methods:
|
136
120
|
|
137
121
|
- <code title="post /api/v1/chat/history">client.v1.chat.<a href="./src/studyfetch_sdk/resources/v1/chat/chat.py">get_history</a>() -> None</code>
|
138
|
-
- <code title="get /api/v1/chat/session/{sessionId}">client.v1.chat.<a href="./src/studyfetch_sdk/resources/v1/chat/chat.py">
|
122
|
+
- <code title="get /api/v1/chat/session/{sessionId}">client.v1.chat.<a href="./src/studyfetch_sdk/resources/v1/chat/chat.py">get_session</a>(session_id, \*\*<a href="src/studyfetch_sdk/types/v1/chat_get_session_params.py">params</a>) -> None</code>
|
139
123
|
- <code title="post /api/v1/chat/followups">client.v1.chat.<a href="./src/studyfetch_sdk/resources/v1/chat/chat.py">send_followups</a>() -> None</code>
|
140
124
|
- <code title="post /api/v1/chat/message">client.v1.chat.<a href="./src/studyfetch_sdk/resources/v1/chat/chat.py">send_message</a>(\*\*<a href="src/studyfetch_sdk/types/v1/chat_send_message_params.py">params</a>) -> None</code>
|
141
125
|
- <code title="post /api/v1/chat/stream">client.v1.chat.<a href="./src/studyfetch_sdk/resources/v1/chat/chat.py">stream</a>(\*\*<a href="src/studyfetch_sdk/types/v1/chat_stream_params.py">params</a>) -> None</code>
|
@@ -154,28 +138,6 @@ Methods:
|
|
154
138
|
- <code title="post /api/v1/chat/test/image-citation">client.v1.chat.test.<a href="./src/studyfetch_sdk/resources/v1/chat/test.py">cite_image</a>() -> None</code>
|
155
139
|
- <code title="post /api/v1/chat/test/image">client.v1.chat.test.<a href="./src/studyfetch_sdk/resources/v1/chat/test.py">upload_image</a>() -> None</code>
|
156
140
|
|
157
|
-
## Flashcards
|
158
|
-
|
159
|
-
Types:
|
160
|
-
|
161
|
-
```python
|
162
|
-
from studyfetch_sdk.types.v1 import (
|
163
|
-
FlashcardBatchProcessResponse,
|
164
|
-
FlashcardGetAlgorithmInfoResponse,
|
165
|
-
FlashcardGetTypesResponse,
|
166
|
-
)
|
167
|
-
```
|
168
|
-
|
169
|
-
Methods:
|
170
|
-
|
171
|
-
- <code title="post /api/v1/flashcards/{componentId}/batch">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">batch_process</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_batch_process_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/flashcard_batch_process_response.py">FlashcardBatchProcessResponse</a></code>
|
172
|
-
- <code title="get /api/v1/flashcards/algorithm">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_algorithm_info</a>() -> <a href="./src/studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py">FlashcardGetAlgorithmInfoResponse</a></code>
|
173
|
-
- <code title="get /api/v1/flashcards/{componentId}/all">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_all</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_get_all_params.py">params</a>) -> None</code>
|
174
|
-
- <code title="get /api/v1/flashcards/{componentId}/due">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_due</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_get_due_params.py">params</a>) -> None</code>
|
175
|
-
- <code title="get /api/v1/flashcards/{componentId}/stats">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_stats</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_get_stats_params.py">params</a>) -> None</code>
|
176
|
-
- <code title="get /api/v1/flashcards/types">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_types</a>() -> <a href="./src/studyfetch_sdk/types/v1/flashcard_get_types_response.py">FlashcardGetTypesResponse</a></code>
|
177
|
-
- <code title="post /api/v1/flashcards/{componentId}/rate">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">rate</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_rate_params.py">params</a>) -> None</code>
|
178
|
-
|
179
141
|
## Tests
|
180
142
|
|
181
143
|
Methods:
|
@@ -208,8 +170,36 @@ Methods:
|
|
208
170
|
- <code title="get /api/v1/audio-recaps/{recapId}/sections/{sectionId}">client.v1.audio_recaps.sections.<a href="./src/studyfetch_sdk/resources/v1/audio_recaps/sections.py">retrieve</a>(section_id, \*, recap_id) -> None</code>
|
209
171
|
- <code title="get /api/v1/audio-recaps/{recapId}/sections">client.v1.audio_recaps.sections.<a href="./src/studyfetch_sdk/resources/v1/audio_recaps/sections.py">list</a>(recap_id) -> None</code>
|
210
172
|
|
173
|
+
## Flashcards
|
174
|
+
|
175
|
+
Types:
|
176
|
+
|
177
|
+
```python
|
178
|
+
from studyfetch_sdk.types.v1 import (
|
179
|
+
FlashcardBatchProcessResponse,
|
180
|
+
FlashcardGetAlgorithmResponse,
|
181
|
+
FlashcardGetTypesResponse,
|
182
|
+
)
|
183
|
+
```
|
184
|
+
|
185
|
+
Methods:
|
186
|
+
|
187
|
+
- <code title="post /api/v1/flashcards/{componentId}/batch">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">batch_process</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_batch_process_params.py">params</a>) -> <a href="./src/studyfetch_sdk/types/v1/flashcard_batch_process_response.py">FlashcardBatchProcessResponse</a></code>
|
188
|
+
- <code title="get /api/v1/flashcards/algorithm">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_algorithm</a>() -> <a href="./src/studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py">FlashcardGetAlgorithmResponse</a></code>
|
189
|
+
- <code title="get /api/v1/flashcards/{componentId}/all">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_all</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_get_all_params.py">params</a>) -> None</code>
|
190
|
+
- <code title="get /api/v1/flashcards/{componentId}/due">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_due</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_get_due_params.py">params</a>) -> None</code>
|
191
|
+
- <code title="get /api/v1/flashcards/{componentId}/stats">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_stats</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_get_stats_params.py">params</a>) -> None</code>
|
192
|
+
- <code title="get /api/v1/flashcards/types">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">get_types</a>() -> <a href="./src/studyfetch_sdk/types/v1/flashcard_get_types_response.py">FlashcardGetTypesResponse</a></code>
|
193
|
+
- <code title="post /api/v1/flashcards/{componentId}/rate">client.v1.flashcards.<a href="./src/studyfetch_sdk/resources/v1/flashcards.py">rate</a>(component_id, \*\*<a href="src/studyfetch_sdk/types/v1/flashcard_rate_params.py">params</a>) -> None</code>
|
194
|
+
|
211
195
|
## Scenarios
|
212
196
|
|
197
|
+
Types:
|
198
|
+
|
199
|
+
```python
|
200
|
+
from studyfetch_sdk.types.v1 import Scenario
|
201
|
+
```
|
202
|
+
|
213
203
|
Methods:
|
214
204
|
|
215
205
|
- <code title="post /api/v1/scenarios">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/scenario_create_params.py">params</a>) -> None</code>
|
@@ -218,7 +208,7 @@ Methods:
|
|
218
208
|
- <code title="get /api/v1/scenarios">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">list</a>() -> None</code>
|
219
209
|
- <code title="delete /api/v1/scenarios/{id}">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">delete</a>(id) -> None</code>
|
220
210
|
- <code title="get /api/v1/scenarios/{id}/stats">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">get_stats</a>(id) -> None</code>
|
221
|
-
- <code title="post /api/v1/scenarios/{id}/submit">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">
|
211
|
+
- <code title="post /api/v1/scenarios/{id}/submit">client.v1.scenarios.<a href="./src/studyfetch_sdk/resources/v1/scenarios/scenarios.py">submit_answer</a>(id, \*\*<a href="src/studyfetch_sdk/types/v1/scenario_submit_answer_params.py">params</a>) -> None</code>
|
222
212
|
|
223
213
|
### Component
|
224
214
|
|
@@ -241,14 +231,15 @@ Methods:
|
|
241
231
|
|
242
232
|
Methods:
|
243
233
|
|
244
|
-
- <code title="get /api/v1/scenarios/
|
245
|
-
- <code title="get /api/v1/scenarios/submissions/user">client.v1.scenarios.submissions.user.<a href="./src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py">
|
234
|
+
- <code title="get /api/v1/scenarios/submissions/user">client.v1.scenarios.submissions.user.<a href="./src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py">get_all</a>() -> None</code>
|
235
|
+
- <code title="get /api/v1/scenarios/{id}/submissions/user">client.v1.scenarios.submissions.user.<a href="./src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py">get_by_scenario</a>(id) -> None</code>
|
246
236
|
|
247
237
|
## Explainers
|
248
238
|
|
249
239
|
Methods:
|
250
240
|
|
251
241
|
- <code title="post /api/v1/explainers/create">client.v1.explainers.<a href="./src/studyfetch_sdk/resources/v1/explainers.py">create</a>(\*\*<a href="src/studyfetch_sdk/types/v1/explainer_create_params.py">params</a>) -> None</code>
|
242
|
+
- <code title="get /api/v1/explainers/component/{componentId}">client.v1.explainers.<a href="./src/studyfetch_sdk/resources/v1/explainers.py">retrieve</a>(component_id) -> None</code>
|
252
243
|
- <code title="post /api/v1/explainers/webhook">client.v1.explainers.<a href="./src/studyfetch_sdk/resources/v1/explainers.py">handle_webhook</a>(\*\*<a href="src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py">params</a>) -> None</code>
|
253
244
|
|
254
245
|
## Upload
|
{studyfetch_sdk-0.1.0a5 → studyfetch_sdk-0.1.0a6}/src/studyfetch_sdk/resources/v1/chat/chat.py
RENAMED
@@ -25,7 +25,7 @@ from .sessions import (
|
|
25
25
|
from ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
26
26
|
from ...._utils import maybe_transform, strip_not_given, async_maybe_transform
|
27
27
|
from ...._compat import cached_property
|
28
|
-
from ....types.v1 import chat_stream_params,
|
28
|
+
from ....types.v1 import chat_stream_params, chat_get_session_params, chat_send_message_params
|
29
29
|
from ...._resource import SyncAPIResource, AsyncAPIResource
|
30
30
|
from ...._response import (
|
31
31
|
to_raw_response_wrapper,
|
@@ -85,7 +85,7 @@ class ChatResource(SyncAPIResource):
|
|
85
85
|
cast_to=NoneType,
|
86
86
|
)
|
87
87
|
|
88
|
-
def
|
88
|
+
def get_session(
|
89
89
|
self,
|
90
90
|
session_id: str,
|
91
91
|
*,
|
@@ -117,7 +117,7 @@ class ChatResource(SyncAPIResource):
|
|
117
117
|
extra_query=extra_query,
|
118
118
|
extra_body=extra_body,
|
119
119
|
timeout=timeout,
|
120
|
-
query=maybe_transform({"user_id": user_id},
|
120
|
+
query=maybe_transform({"user_id": user_id}, chat_get_session_params.ChatGetSessionParams),
|
121
121
|
),
|
122
122
|
cast_to=NoneType,
|
123
123
|
)
|
@@ -295,7 +295,7 @@ class AsyncChatResource(AsyncAPIResource):
|
|
295
295
|
cast_to=NoneType,
|
296
296
|
)
|
297
297
|
|
298
|
-
async def
|
298
|
+
async def get_session(
|
299
299
|
self,
|
300
300
|
session_id: str,
|
301
301
|
*,
|
@@ -327,9 +327,7 @@ class AsyncChatResource(AsyncAPIResource):
|
|
327
327
|
extra_query=extra_query,
|
328
328
|
extra_body=extra_body,
|
329
329
|
timeout=timeout,
|
330
|
-
query=await async_maybe_transform(
|
331
|
-
{"user_id": user_id}, chat_retrieve_session_params.ChatRetrieveSessionParams
|
332
|
-
),
|
330
|
+
query=await async_maybe_transform({"user_id": user_id}, chat_get_session_params.ChatGetSessionParams),
|
333
331
|
),
|
334
332
|
cast_to=NoneType,
|
335
333
|
)
|
@@ -467,8 +465,8 @@ class ChatResourceWithRawResponse:
|
|
467
465
|
self.get_history = to_raw_response_wrapper(
|
468
466
|
chat.get_history,
|
469
467
|
)
|
470
|
-
self.
|
471
|
-
chat.
|
468
|
+
self.get_session = to_raw_response_wrapper(
|
469
|
+
chat.get_session,
|
472
470
|
)
|
473
471
|
self.send_followups = to_raw_response_wrapper(
|
474
472
|
chat.send_followups,
|
@@ -496,8 +494,8 @@ class AsyncChatResourceWithRawResponse:
|
|
496
494
|
self.get_history = async_to_raw_response_wrapper(
|
497
495
|
chat.get_history,
|
498
496
|
)
|
499
|
-
self.
|
500
|
-
chat.
|
497
|
+
self.get_session = async_to_raw_response_wrapper(
|
498
|
+
chat.get_session,
|
501
499
|
)
|
502
500
|
self.send_followups = async_to_raw_response_wrapper(
|
503
501
|
chat.send_followups,
|
@@ -525,8 +523,8 @@ class ChatResourceWithStreamingResponse:
|
|
525
523
|
self.get_history = to_streamed_response_wrapper(
|
526
524
|
chat.get_history,
|
527
525
|
)
|
528
|
-
self.
|
529
|
-
chat.
|
526
|
+
self.get_session = to_streamed_response_wrapper(
|
527
|
+
chat.get_session,
|
530
528
|
)
|
531
529
|
self.send_followups = to_streamed_response_wrapper(
|
532
530
|
chat.send_followups,
|
@@ -554,8 +552,8 @@ class AsyncChatResourceWithStreamingResponse:
|
|
554
552
|
self.get_history = async_to_streamed_response_wrapper(
|
555
553
|
chat.get_history,
|
556
554
|
)
|
557
|
-
self.
|
558
|
-
chat.
|
555
|
+
self.get_session = async_to_streamed_response_wrapper(
|
556
|
+
chat.get_session,
|
559
557
|
)
|
560
558
|
self.send_followups = async_to_streamed_response_wrapper(
|
561
559
|
chat.send_followups,
|