studyfetch-sdk 0.1.0a19__py3-none-any.whl → 0.1.0a21__py3-none-any.whl
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/_models.py +23 -2
- studyfetch_sdk/_version.py +1 -1
- studyfetch_sdk/resources/v1/__init__.py +6 -104
- studyfetch_sdk/resources/v1/chat.py +246 -0
- studyfetch_sdk/resources/v1/materials/materials.py +304 -0
- studyfetch_sdk/resources/v1/materials/upload.py +30 -14
- studyfetch_sdk/resources/v1/v1.py +20 -244
- studyfetch_sdk/types/v1/__init__.py +3 -22
- studyfetch_sdk/types/v1/chat_stream_params.py +39 -7
- studyfetch_sdk/types/v1/component_create_params.py +24 -0
- studyfetch_sdk/types/v1/component_generate_embed_params.py +7 -1
- studyfetch_sdk/types/v1/generated_material.py +65 -0
- studyfetch_sdk/types/v1/material_generate_and_process_params.py +38 -0
- studyfetch_sdk/types/v1/material_generate_params.py +32 -0
- studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py +2 -5
- studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py +3 -0
- studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py +4 -1
- studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +3 -0
- {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/METADATA +1 -1
- {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/RECORD +22 -83
- studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -33
- studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -328
- studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -250
- studyfetch_sdk/resources/v1/chat/__init__.py +0 -47
- studyfetch_sdk/resources/v1/chat/chat.py +0 -574
- studyfetch_sdk/resources/v1/chat/sessions.py +0 -222
- studyfetch_sdk/resources/v1/chat/test.py +0 -190
- studyfetch_sdk/resources/v1/data_analyst/__init__.py +0 -47
- studyfetch_sdk/resources/v1/data_analyst/data_analyst.py +0 -582
- studyfetch_sdk/resources/v1/data_analyst/sessions.py +0 -222
- studyfetch_sdk/resources/v1/data_analyst/test.py +0 -190
- studyfetch_sdk/resources/v1/explainers.py +0 -441
- studyfetch_sdk/resources/v1/flashcards.py +0 -783
- studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -61
- studyfetch_sdk/resources/v1/scenarios/component.py +0 -426
- studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -936
- studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -236
- studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -33
- studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -102
- studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -210
- studyfetch_sdk/resources/v1/tests/__init__.py +0 -33
- studyfetch_sdk/resources/v1/tests/component.py +0 -160
- studyfetch_sdk/resources/v1/tests/tests.py +0 -682
- studyfetch_sdk/resources/v1/upload/__init__.py +0 -33
- studyfetch_sdk/resources/v1/upload/component.py +0 -572
- studyfetch_sdk/resources/v1/upload/upload.py +0 -102
- studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -3
- studyfetch_sdk/types/v1/chat/__init__.py +0 -5
- studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -11
- studyfetch_sdk/types/v1/chat_get_session_params.py +0 -13
- studyfetch_sdk/types/v1/chat_send_message_params.py +0 -54
- studyfetch_sdk/types/v1/data_analyst/__init__.py +0 -5
- studyfetch_sdk/types/v1/data_analyst/session_retrieve_params.py +0 -11
- studyfetch_sdk/types/v1/data_analyst_retrieve_session_params.py +0 -13
- studyfetch_sdk/types/v1/data_analyst_send_message_params.py +0 -54
- studyfetch_sdk/types/v1/data_analyst_stream_params.py +0 -28
- studyfetch_sdk/types/v1/explainer_create_params.py +0 -45
- studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -53
- studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -36
- studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -39
- studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py +0 -37
- studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -23
- studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -19
- studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -17
- studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -14
- studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -23
- studyfetch_sdk/types/v1/scenario_create_params.py +0 -48
- studyfetch_sdk/types/v1/scenario_submit_answer_params.py +0 -18
- studyfetch_sdk/types/v1/scenario_update_params.py +0 -45
- studyfetch_sdk/types/v1/scenarios/__init__.py +0 -5
- studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -45
- studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -3
- studyfetch_sdk/types/v1/test_create_params.py +0 -20
- studyfetch_sdk/types/v1/test_retake_params.py +0 -14
- studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -20
- studyfetch_sdk/types/v1/test_submit_params.py +0 -14
- studyfetch_sdk/types/v1/tests/__init__.py +0 -3
- studyfetch_sdk/types/v1/upload/__init__.py +0 -11
- studyfetch_sdk/types/v1/upload/component_complete_upload_params.py +0 -20
- studyfetch_sdk/types/v1/upload/component_complete_upload_response.py +0 -16
- studyfetch_sdk/types/v1/upload/component_get_presigned_url_params.py +0 -23
- studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py +0 -15
- studyfetch_sdk/types/v1/upload/component_upload_file_params.py +0 -21
- studyfetch_sdk/types/v1/upload/component_upload_url_params.py +0 -23
- studyfetch_sdk/types/v1/upload/file_upload_response.py +0 -24
- {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/WHEEL +0 -0
- {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing_extensions import Literal, Required, Annotated, TypedDict
|
6
|
+
|
7
|
+
from ..._utils import PropertyInfo
|
8
|
+
|
9
|
+
__all__ = ["MaterialGenerateParams"]
|
10
|
+
|
11
|
+
|
12
|
+
class MaterialGenerateParams(TypedDict, total=False):
|
13
|
+
name: Required[str]
|
14
|
+
"""Name for the generated material"""
|
15
|
+
|
16
|
+
topic: Required[str]
|
17
|
+
"""Topic or context to generate material from"""
|
18
|
+
|
19
|
+
type: Required[Literal["outline", "overview", "notes", "summary"]]
|
20
|
+
"""Type of material to generate"""
|
21
|
+
|
22
|
+
context: str
|
23
|
+
"""Additional context or details about the topic"""
|
24
|
+
|
25
|
+
folder_id: Annotated[str, PropertyInfo(alias="folderId")]
|
26
|
+
"""Target folder ID"""
|
27
|
+
|
28
|
+
length: Literal["short", "medium", "long"]
|
29
|
+
"""Length of the generated content"""
|
30
|
+
|
31
|
+
level: Literal["high_school", "college", "professional"]
|
32
|
+
"""Target education level"""
|
@@ -11,10 +11,7 @@ __all__ = ["UploadCompleteUploadParams"]
|
|
11
11
|
|
12
12
|
class UploadCompleteUploadParams(TypedDict, total=False):
|
13
13
|
material_id: Required[Annotated[str, PropertyInfo(alias="materialId")]]
|
14
|
-
"""
|
15
|
-
|
16
|
-
organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
|
17
|
-
"""The ID of the organization"""
|
14
|
+
"""Material ID from presigned URL response"""
|
18
15
|
|
19
16
|
s3_key: Required[Annotated[str, PropertyInfo(alias="s3Key")]]
|
20
|
-
"""
|
17
|
+
"""S3 key from presigned URL response"""
|
@@ -19,5 +19,8 @@ class UploadCreatePresignedURLParams(TypedDict, total=False):
|
|
19
19
|
name: Required[str]
|
20
20
|
"""Display name for the material"""
|
21
21
|
|
22
|
+
extract_images: Annotated[bool, PropertyInfo(alias="extractImages")]
|
23
|
+
"""Whether to extract images from files"""
|
24
|
+
|
22
25
|
folder_id: Annotated[str, PropertyInfo(alias="folderId")]
|
23
26
|
"""Folder ID to place the material in"""
|
@@ -16,6 +16,9 @@ class UploadUploadFileAndProcessParams(TypedDict, total=False):
|
|
16
16
|
name: Required[str]
|
17
17
|
"""Material name"""
|
18
18
|
|
19
|
+
extract_images: Annotated[str, PropertyInfo(alias="extractImages")]
|
20
|
+
"""Whether to extract images from files (true/false, default: true)"""
|
21
|
+
|
19
22
|
folder_id: Annotated[str, PropertyInfo(alias="folderId")]
|
20
23
|
"""Folder ID (optional)"""
|
21
24
|
|
@@ -23,4 +26,4 @@ class UploadUploadFileAndProcessParams(TypedDict, total=False):
|
|
23
26
|
"""Polling interval in milliseconds (default: 2000)"""
|
24
27
|
|
25
28
|
timeout_ms: Annotated[float, PropertyInfo(alias="timeoutMs")]
|
26
|
-
"""Processing timeout in milliseconds (default: 300000)"""
|
29
|
+
"""Processing timeout in milliseconds (default: 300000 - 5 minutes)"""
|
@@ -16,5 +16,8 @@ class UploadUploadFileParams(TypedDict, total=False):
|
|
16
16
|
name: Required[str]
|
17
17
|
"""Material name"""
|
18
18
|
|
19
|
+
extract_images: Annotated[str, PropertyInfo(alias="extractImages")]
|
20
|
+
"""Whether to extract images from files (true/false, default: true)"""
|
21
|
+
|
19
22
|
folder_id: Annotated[str, PropertyInfo(alias="folderId")]
|
20
23
|
"""Folder ID (optional)"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: studyfetch_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a21
|
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
|
@@ -5,13 +5,13 @@ studyfetch_sdk/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,658
|
|
5
5
|
studyfetch_sdk/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
6
6
|
studyfetch_sdk/_exceptions.py,sha256=19gq_huoBWNcc8dc3YLQHCjkkmixKafZmW2GqVGlmCs,3234
|
7
7
|
studyfetch_sdk/_files.py,sha256=qHhXttBIBYPPBVXbKjskY9o4WiktVmJs_6Kbv26sSew,3632
|
8
|
-
studyfetch_sdk/_models.py,sha256=
|
8
|
+
studyfetch_sdk/_models.py,sha256=KvjsMfb88XZlFUKVoOxr8OyDj47MhoH2OKqWNEbBhk4,30010
|
9
9
|
studyfetch_sdk/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
10
10
|
studyfetch_sdk/_resource.py,sha256=y0aoAqMIYwTAwStuxbpO8XpTPnrSNQQ_ZcgiH5xcntg,1142
|
11
11
|
studyfetch_sdk/_response.py,sha256=6ph8tSkqF5pNbTo_2Zhizhq2O-Eb67TcksHwyg3aXdc,28864
|
12
12
|
studyfetch_sdk/_streaming.py,sha256=HZoENuPVzWhBn24eH3lnMCvRbWN0EPwvhWYfdlJfw0A,10128
|
13
13
|
studyfetch_sdk/_types.py,sha256=6nvqHGarRGuhs_FL8tJ8sGXXD8XWajNynT2K78GxRUI,6205
|
14
|
-
studyfetch_sdk/_version.py,sha256=
|
14
|
+
studyfetch_sdk/_version.py,sha256=bOyJkRNymtNqeZn5dQAGlTwrdsqTQoWOoGhbbBUwLCw,175
|
15
15
|
studyfetch_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
studyfetch_sdk/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
17
17
|
studyfetch_sdk/_utils/_logs.py,sha256=EoZgOiIkpf2WB_0Ts0Ti7G3o_25v7IsPf_q-yEU6sbY,798
|
@@ -25,88 +25,51 @@ studyfetch_sdk/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0Xcn
|
|
25
25
|
studyfetch_sdk/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
|
26
26
|
studyfetch_sdk/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
27
27
|
studyfetch_sdk/resources/__init__.py,sha256=TSJ6b8GNHShyK5w7efHV93u1bY2jYVySQRa2zKc1dKM,500
|
28
|
-
studyfetch_sdk/resources/v1/__init__.py,sha256=
|
28
|
+
studyfetch_sdk/resources/v1/__init__.py,sha256=MuyX9C4vO3TO0ZHFqBqBcQXy-CqjF-_Tis6pWsaDb6Q,3833
|
29
29
|
studyfetch_sdk/resources/v1/assignment_grader.py,sha256=xNI0G7xgz_eC1MR9grPZi-RAaPvSgwQA0rkJhrUx90w,16329
|
30
|
+
studyfetch_sdk/resources/v1/chat.py,sha256=9uLNqTB9A76nJ8YC9fFw5FCZX3QWCbms5mTWQlpx0XI,8902
|
30
31
|
studyfetch_sdk/resources/v1/components.py,sha256=XLeKvBQ92xGGFjtTc7YL42Yv6EqY-70Rg0DW83jIQFc,35577
|
31
|
-
studyfetch_sdk/resources/v1/explainers.py,sha256=W5Kq3Gpwqw3kBy9v-qpV5FKxH1HAm5_yk1NgACM-Mec,16047
|
32
|
-
studyfetch_sdk/resources/v1/flashcards.py,sha256=_-zZUd8Ja9k2895cxLJsLbN73ZTIrkJaComGCSMkbCk,29242
|
33
32
|
studyfetch_sdk/resources/v1/folders.py,sha256=o43HhcVhqF3t7xWMFFNIiMPElhoqkXtaCTVjEE5s5so,27436
|
34
|
-
studyfetch_sdk/resources/v1/v1.py,sha256=
|
35
|
-
studyfetch_sdk/resources/v1/audio_recaps/__init__.py,sha256=X6oJGmyaqUBFChSn8l0r-EHjCZos36O10zfFYWuid2w,1094
|
36
|
-
studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py,sha256=XAfSWFDbjUSp9bKjDVHqLyrEv3kNtTYSaLtWPRFIzdc,12630
|
37
|
-
studyfetch_sdk/resources/v1/audio_recaps/sections.py,sha256=AcYtFSNemNP2T-fJn2nZkrPNNpaEtqiwPNuTpual2Lw,9451
|
38
|
-
studyfetch_sdk/resources/v1/chat/__init__.py,sha256=WSv53HDkoj5Ec37hiJlCV2V-ZquTjYyG5hU9cOdZPBk,1426
|
39
|
-
studyfetch_sdk/resources/v1/chat/chat.py,sha256=PFySkZ3HsxthOYe5QZYAKkSwJryo6tE7Tl53f7DscYo,21666
|
40
|
-
studyfetch_sdk/resources/v1/chat/sessions.py,sha256=mjcTJFft2zXyQlqhARz_J5md1BfAD3uhDVp-olow83o,8479
|
41
|
-
studyfetch_sdk/resources/v1/chat/test.py,sha256=_7D8vYKhEUi4L32-N4SnpQlDFZl2swrLQFsSDUidn1M,7067
|
42
|
-
studyfetch_sdk/resources/v1/data_analyst/__init__.py,sha256=VSvCuMKdEIyo9tCKGSn2Bxm4DZNg-uuYsCd-h4pojQk,1518
|
43
|
-
studyfetch_sdk/resources/v1/data_analyst/data_analyst.py,sha256=IiaoG0zG_StbCzlgtVchLf697vCKjyqPXbEbCkqoTGI,22520
|
44
|
-
studyfetch_sdk/resources/v1/data_analyst/sessions.py,sha256=puUPLG8qWewaks2WHkGx9NC8d1mqSXLAVr1rdHCqVbA,8519
|
45
|
-
studyfetch_sdk/resources/v1/data_analyst/test.py,sha256=46J93cP5MImFwuCyr6w5wdt2OnllDOMXFqOneXFFY_E,7209
|
33
|
+
studyfetch_sdk/resources/v1/v1.py,sha256=8C0KU-ceX0HTINvoDrmx-9fYqb58OitBND_AwvM152I,12756
|
46
34
|
studyfetch_sdk/resources/v1/embed/__init__.py,sha256=VJ7xFoda7Gx3MH2plj_RN3NF5lmfKMFB1IHU0StdTzo,1028
|
47
35
|
studyfetch_sdk/resources/v1/embed/component.py,sha256=vFArqNnLaCGiHAKt4dhF3IBE950KMJbCqX5En2Tj0ls,10491
|
48
36
|
studyfetch_sdk/resources/v1/embed/embed.py,sha256=Tbny2GdlacLtNE-TfYRqYsVNIcOmPOy16cI1IrAHLmM,12582
|
49
37
|
studyfetch_sdk/resources/v1/materials/__init__.py,sha256=tVk8p-CapS6r8iWZXSBxwA0UlQyHJQMY9FPDL_TvMfY,1889
|
50
38
|
studyfetch_sdk/resources/v1/materials/bulk.py,sha256=7yWgp9Jfclm9ppZhk4VKZxBpOVr1UOBBzos8Nj3HDEo,6511
|
51
|
-
studyfetch_sdk/resources/v1/materials/materials.py,sha256=
|
39
|
+
studyfetch_sdk/resources/v1/materials/materials.py,sha256=8_NtXcOT6G8im7Q0M5EOzy7LnD0VgvR72-bC581JA-k,59611
|
52
40
|
studyfetch_sdk/resources/v1/materials/test.py,sha256=Vby03Ow171VfeSiM-i1s4pSkqTttY7ggFeCjJHk2dDk,11875
|
53
|
-
studyfetch_sdk/resources/v1/materials/upload.py,sha256=
|
54
|
-
studyfetch_sdk/resources/v1/scenarios/__init__.py,sha256=WrMn3vQJgHGQzWKq5SRUTMMvRd4p15Bt5JjZpHhKHZs,2071
|
55
|
-
studyfetch_sdk/resources/v1/scenarios/component.py,sha256=ipHZj58PQfD1q1mNHLR0-zRNl6okOsMrqYaez5Bmn6c,15991
|
56
|
-
studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=q_gX2IdWAogGNy6G0WsdNpgvNE0_Cf3GeKy7ukKc4M0,34658
|
57
|
-
studyfetch_sdk/resources/v1/scenarios/sessions.py,sha256=nTa6kBd5SoCBTm4DoIdH_u_nj1bM5dIbo2yAy-rMzKg,8949
|
58
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py,sha256=rTtsEfGVta9DIHDkyL4p32yLV21bFcxkE-LRb_bpFvU,1041
|
59
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py,sha256=2wj6bWW4NXw3EjsCDQySGYOAym64QIUzLqp6UelJsqo,3773
|
60
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/user.py,sha256=n4QlwOw90vyFMGD7Akv_k4ZMyuWT6FNb9o3Fnsl7SZs,7916
|
61
|
-
studyfetch_sdk/resources/v1/tests/__init__.py,sha256=7-K6i3WJPRCoMSOatJEqUhlz74S0wr4S-yrWr2X-LTA,1028
|
62
|
-
studyfetch_sdk/resources/v1/tests/component.py,sha256=MJZIo4-ES4tkY9P1FJl8phjkQxGG8FBCe99ar0I_un4,6013
|
63
|
-
studyfetch_sdk/resources/v1/tests/tests.py,sha256=BGwXClZ8YkzegN80R0WDIrvK3WN1-ujtYkfR33ARhVU,24870
|
64
|
-
studyfetch_sdk/resources/v1/upload/__init__.py,sha256=N5r6jpSMe43dezq-6RBAWLVlL3-Z76lU7DG53phDGr8,1041
|
65
|
-
studyfetch_sdk/resources/v1/upload/component.py,sha256=Q-8VO-XiWYDFpzdap-NcP62V77dvMXfeJouFv8ELXkM,21803
|
66
|
-
studyfetch_sdk/resources/v1/upload/upload.py,sha256=RBkrsVi5_8qIqdYKypnSqj44ONvwW7u2XXIlpuJsKSg,3736
|
41
|
+
studyfetch_sdk/resources/v1/materials/upload.py,sha256=68Qiib8Pmtr3gXEf5S86kltq41vpuRUZ_Q-9mjfWzuM,30478
|
67
42
|
studyfetch_sdk/resources/v1/usage/__init__.py,sha256=zUBe7msw9tyZplhmwNkhbCfRigNQQVj4IFpod4uGWZY,1002
|
68
43
|
studyfetch_sdk/resources/v1/usage/analyst.py,sha256=WJfbjv57r1ZLgNytUzuEH7J_HYPsbXWhk2Ae6q4QBuA,17402
|
69
44
|
studyfetch_sdk/resources/v1/usage/usage.py,sha256=HAG7FfTIiIihB0dtbZEmluKDD0GWqKWrfLp03gcdPjU,19694
|
70
45
|
studyfetch_sdk/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
71
|
-
studyfetch_sdk/types/v1/__init__.py,sha256=
|
46
|
+
studyfetch_sdk/types/v1/__init__.py,sha256=XzBRS3D7ewj0mprNhFBG5SL8xeBvu8sveGquvpGwFEI,3271
|
72
47
|
studyfetch_sdk/types/v1/assignment_grader_create_params.py,sha256=o-U_-0ZHJxwpL3pSEW41SmsHz-sOP490i5P8EA5A-Ws,1246
|
73
48
|
studyfetch_sdk/types/v1/assignment_grader_get_all_response.py,sha256=FidqfpFC-PX05_knGWicLerCeSqJiScW2IbzPyzBb2c,339
|
74
49
|
studyfetch_sdk/types/v1/assignment_grader_response.py,sha256=KJm2_mg42eESgXNP2nkIxKvd04-rzQdQd6IeQCghJPo,1142
|
75
|
-
studyfetch_sdk/types/v1/
|
76
|
-
studyfetch_sdk/types/v1/chat_send_message_params.py,sha256=BRxjNsVXsqcBbdrp4J5TQGjjNPJ_bz7uXw3pnc-x0oU,1454
|
77
|
-
studyfetch_sdk/types/v1/chat_stream_params.py,sha256=Aqp2Vdsa35PAH-75kaO_ZYlkqGrCgDZ5EyYTTLRAJoE,695
|
50
|
+
studyfetch_sdk/types/v1/chat_stream_params.py,sha256=riIm5xXiAoobWh6C_7MsitUbuzglYHqyfxkPjGYoqDo,1559
|
78
51
|
studyfetch_sdk/types/v1/component.py,sha256=ci484sfjcKqNkjD-1lsj-FqodAauBb8Kf7UE0qHgD20,1247
|
79
|
-
studyfetch_sdk/types/v1/component_create_params.py,sha256=
|
80
|
-
studyfetch_sdk/types/v1/component_generate_embed_params.py,sha256=
|
52
|
+
studyfetch_sdk/types/v1/component_create_params.py,sha256=UnTJSJQ9EYBEBgUwXCVAPXCUzjmm_qKsZp0MUl_MqaU,12610
|
53
|
+
studyfetch_sdk/types/v1/component_generate_embed_params.py,sha256=acWgEeaQt3Yyu9DHs9jkUCKC4NRz08pQdrUQPtG7TC4,3320
|
81
54
|
studyfetch_sdk/types/v1/component_generate_embed_response.py,sha256=xhbqEpAt_Q7yzD4xjWITs_jXYUD6ElrH4aQfNEunI3Y,922
|
82
55
|
studyfetch_sdk/types/v1/component_list_params.py,sha256=ROPHM8kS3jVMVDfWcYZyv1Ecn5lZ879uw_b2IRNxgUQ,512
|
83
56
|
studyfetch_sdk/types/v1/component_list_response.py,sha256=BYGoH8x8UJdekr8HXdbcOw_LoKWULlIdN6sn1uL5RuY,274
|
84
57
|
studyfetch_sdk/types/v1/component_update_params.py,sha256=IkSFyldrto9H_F_4GWIGG1WYpYFEuYsAi-29dmo9vno,365
|
85
58
|
studyfetch_sdk/types/v1/content_param.py,sha256=V4F8-ypvZIixvupuYMCaE0Ycfra-Q8U2BGankYiFWzo,610
|
86
|
-
studyfetch_sdk/types/v1/data_analyst_retrieve_session_params.py,sha256=28BrSlcr93LW6eI3Ag_jAXVzsRUR2Vq3BKf5c1p0rSo,402
|
87
|
-
studyfetch_sdk/types/v1/data_analyst_send_message_params.py,sha256=lxud1RMxehK5ej0-i7M5yQGmgeIDjWuzi0hnXpg9-zw,1468
|
88
|
-
studyfetch_sdk/types/v1/data_analyst_stream_params.py,sha256=U48Cr-Fs_Zspxhd2v9QeZPTC1fOO5v1W_kfe0VfHg3U,709
|
89
59
|
studyfetch_sdk/types/v1/embed_get_theme_params.py,sha256=wKZn4X-Ne29dOrxEBkGThxBPTdhPTgb-CzV65KvSFVw,308
|
90
60
|
studyfetch_sdk/types/v1/embed_verify_params.py,sha256=hixgK7Uyhi2Oaj0t5Q5sbFVUYGdvmMsk_2-fu_2C2nw,314
|
91
|
-
studyfetch_sdk/types/v1/explainer_create_params.py,sha256=DfTTxdkaUezNpD3TwTSyWZDsqcj3ZQ_pi-NiFmhldCk,1365
|
92
|
-
studyfetch_sdk/types/v1/explainer_handle_webhook_params.py,sha256=FroVkIVnrp3n_Jf5q5gfl4OaL41gswNRG2EZHXaeekY,1426
|
93
|
-
studyfetch_sdk/types/v1/flashcard_batch_process_params.py,sha256=9rKglWAilYXnfqPSOdKLQWZ7DOrU45S20eLLGn6xsSk,1044
|
94
|
-
studyfetch_sdk/types/v1/flashcard_batch_process_response.py,sha256=UKredDT61O5KA56gvhbJlF1qa8LzrdpLrD4ulzQOFlw,891
|
95
|
-
studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py,sha256=HdX5UB4l-jZpNpLN0-UZfQL2nxpd-dmypxO-dQEH8Eo,863
|
96
|
-
studyfetch_sdk/types/v1/flashcard_get_all_params.py,sha256=VVEPwJ1sQ03CqUWM-bvmPmy4M2j2MEMvTPU6Qp7aflk,563
|
97
|
-
studyfetch_sdk/types/v1/flashcard_get_due_params.py,sha256=n_05aRmk05p-WXctVdE57Gm-lMChCn-efmy1Tl2Kq-Q,509
|
98
|
-
studyfetch_sdk/types/v1/flashcard_get_stats_params.py,sha256=ghcZfsKIM4au3PtoBpiw-3iGNEy-86co8vzIqLKhZ9o,483
|
99
|
-
studyfetch_sdk/types/v1/flashcard_get_types_response.py,sha256=5Ik-pRsivsnFTytCNvnw0cDZA-95ONMxNY2goXUucLI,371
|
100
|
-
studyfetch_sdk/types/v1/flashcard_rate_params.py,sha256=SrGtfy4XU34M9WYIVQ89uJpmkSmIS9JUzLg2t3_oez8,630
|
101
61
|
studyfetch_sdk/types/v1/folder_create_params.py,sha256=7aOh4pSBdnJ0kLH722pf2gNeJJXpGdf3ldadMcMtXkY,453
|
102
62
|
studyfetch_sdk/types/v1/folder_list_params.py,sha256=BPzBIqjQrCyKuI3DcER1kFRTx15OSUpvsrsMgHXPdAE,391
|
103
63
|
studyfetch_sdk/types/v1/folder_update_params.py,sha256=WynpsS4j_cPwqPjAGTXVcr1v0daB4S2F1MF8uuV6vNI,430
|
64
|
+
studyfetch_sdk/types/v1/generated_material.py,sha256=xr77uvK15PlWNCXd2IoaaBqTi1b1ONVnoq9rtKZLml8,1760
|
104
65
|
studyfetch_sdk/types/v1/material.py,sha256=oiS1alAiO5X8nKMeSUd6AIiQaDLiF72QTMJDukqs32U,1615
|
105
66
|
studyfetch_sdk/types/v1/material_batch_create_params.py,sha256=R5KvbSt4D8DEbBqsrGD7DMCND02_8tCSAI9sZdsp1Bk,763
|
106
67
|
studyfetch_sdk/types/v1/material_batch_create_response.py,sha256=rqef0Fo9uP05CSLenN_B2HQ6Oi1H6F7E7xYoICFdFGk,695
|
107
68
|
studyfetch_sdk/types/v1/material_create_and_process_params.py,sha256=Z-fRiRRuCUBVjafpTxlpQyQtWRM9I7zJrr-hZk2T2eg,888
|
108
69
|
studyfetch_sdk/types/v1/material_create_params.py,sha256=CIVz2wMUhtMgTu00oWDhcqNznpW98t7O7ynfNDZCwzY,576
|
109
70
|
studyfetch_sdk/types/v1/material_debug_response.py,sha256=LM8THYVhABq50XeGaykMzziqbG3NHRoT7IpN22CYATM,1120
|
71
|
+
studyfetch_sdk/types/v1/material_generate_and_process_params.py,sha256=Ifh7L6Ki2IeRgxHSIh7UlPO_zZBYqpx-axKkMDqA0hI,1240
|
72
|
+
studyfetch_sdk/types/v1/material_generate_params.py,sha256=-GfhsOyD0Jyt6agdpL6S8OjOtAAvDNCoLbhTRz0LHDg,928
|
110
73
|
studyfetch_sdk/types/v1/material_get_download_url_params.py,sha256=GZpXV1lDBt1qKP0sxJhZvS1OU7vJ16nTtdkogzk4HZc,439
|
111
74
|
studyfetch_sdk/types/v1/material_get_download_url_response.py,sha256=09Vv4rNsXP2XyvjDP48eXGUQbEHqqRj5tmDNWiWJOKk,346
|
112
75
|
studyfetch_sdk/types/v1/material_list_params.py,sha256=8yd556-GB4Xw-NFGshxm_Hx-nIG-MAg4dPtn-W38w3k,388
|
@@ -115,21 +78,9 @@ studyfetch_sdk/types/v1/material_move_params.py,sha256=ghJzdKx8VzuchJ-chN4rPTkSc
|
|
115
78
|
studyfetch_sdk/types/v1/material_rename_params.py,sha256=RltDhuGmhBZY58Ol_1BE-wecinrRNvvDlnsW3FKo_MA,323
|
116
79
|
studyfetch_sdk/types/v1/material_search_params.py,sha256=2MokaAVVTcnnHVjDTn_YEOVvhD9tGyU1JeCF3gvaL4s,753
|
117
80
|
studyfetch_sdk/types/v1/material_search_response.py,sha256=9XSBBfmdQb3Aw2yCs43d43qRMQ-L6cho1an5JLaQQ8E,1282
|
118
|
-
studyfetch_sdk/types/v1/scenario_create_params.py,sha256=anCK913P4vYEtgY6GnxxxCxRnUazeV1H1NoyBV78sT8,1281
|
119
|
-
studyfetch_sdk/types/v1/scenario_submit_answer_params.py,sha256=g1idbU9OxRC_qrU7bOVNuFcXtKa2ZiJgy7KBR2mJWSM,597
|
120
|
-
studyfetch_sdk/types/v1/scenario_update_params.py,sha256=F83xky9wzolK2VmTkTUqfrNwXB-h-H__8YYy7oXLz8A,1168
|
121
|
-
studyfetch_sdk/types/v1/test_create_params.py,sha256=-MrR4d4Igyp7FD9xni5Rh_Gn3JgCZyYGagXUG3GDvQc,537
|
122
|
-
studyfetch_sdk/types/v1/test_retake_params.py,sha256=pSxTOQ8Io9D_ZquvrbwdbUGtpjG-idDfBd-28i6gQVM,379
|
123
|
-
studyfetch_sdk/types/v1/test_submit_answer_params.py,sha256=KnXliGsq5TTCZIno5It7rK5pi_qttEavBw86X_yhyj0,549
|
124
|
-
studyfetch_sdk/types/v1/test_submit_params.py,sha256=ra-n9uNBDSqkkiomBt_y3RtGMpVyVJXiAqMajtZBSk4,379
|
125
81
|
studyfetch_sdk/types/v1/usage_get_stats_params.py,sha256=TQwpTxrPjfa7OA-UdYOVppbZZjE9cx04VajXk-Pgvvc,682
|
126
82
|
studyfetch_sdk/types/v1/usage_get_summary_params.py,sha256=ZFd6VwpQxL59a2akaJDRZbJJcNbZ88KU4S6UreCZr4U,768
|
127
83
|
studyfetch_sdk/types/v1/usage_list_events_params.py,sha256=exIPdq6GwwDs5KmjzHE5EJc7dslgfCDqL08b89hl3m8,1769
|
128
|
-
studyfetch_sdk/types/v1/audio_recaps/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
129
|
-
studyfetch_sdk/types/v1/chat/__init__.py,sha256=wYABOEkbpJ2giFls8t8N32vNezDWQvFRnPw_giWy58g,207
|
130
|
-
studyfetch_sdk/types/v1/chat/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWyKv8KGr0Pa4W9e8ZubMysxpty6I,290
|
131
|
-
studyfetch_sdk/types/v1/data_analyst/__init__.py,sha256=wYABOEkbpJ2giFls8t8N32vNezDWQvFRnPw_giWy58g,207
|
132
|
-
studyfetch_sdk/types/v1/data_analyst/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWyKv8KGr0Pa4W9e8ZubMysxpty6I,290
|
133
84
|
studyfetch_sdk/types/v1/embed/__init__.py,sha256=PY0v530kkkL8N0ABYvRpyNG0B4-56axqoZ1Gbp6GYq0,303
|
134
85
|
studyfetch_sdk/types/v1/embed/component_interact_params.py,sha256=IdYB5R3TK9KaOQgXP8HbDA4_1bmkPeCxNSORu_Pl1Y0,341
|
135
86
|
studyfetch_sdk/types/v1/embed/component_retrieve_params.py,sha256=At4Eu0g84kblyZVKKBjwtFBc5UcG3XbhS97RkDgysMs,316
|
@@ -140,31 +91,19 @@ studyfetch_sdk/types/v1/materials/test_perform_ocr_response.py,sha256=qtE037pg0N
|
|
140
91
|
studyfetch_sdk/types/v1/materials/test_process_epub_response.py,sha256=HLWRvESxsEdouhYUg2XbgdImJ5ILmW04mcOzOIZEzNI,752
|
141
92
|
studyfetch_sdk/types/v1/materials/test_process_image_response.py,sha256=m2m4dUfRp-dmyhmL-ayqiok3yGPI06g0lNa1Zziej4Y,713
|
142
93
|
studyfetch_sdk/types/v1/materials/test_process_video_response.py,sha256=hWXrYymCN5FZX-m5_zmOnv7pqYSBEoHtIDQ0PY2umgk,552
|
143
|
-
studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py,sha256=
|
144
|
-
studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py,sha256=
|
94
|
+
studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py,sha256=4gJ4Z4JXCXKveDZhey_ryKssG3zvF1_fD7iV6aK5pwc,561
|
95
|
+
studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py,sha256=pwRG7ieGMCULgYTOWtvC7ZbdDTFSeyIrdoJKQV2l3m8,793
|
145
96
|
studyfetch_sdk/types/v1/materials/upload_create_presigned_url_response.py,sha256=_gavQUlB2l1VXrPsB02Bc5WUFiMBWn7kKvHZrGAdfLg,531
|
146
|
-
studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py,sha256=
|
147
|
-
studyfetch_sdk/types/v1/materials/upload_upload_file_params.py,sha256=
|
97
|
+
studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py,sha256=gwxrcrO2Y9n3FEasQX_eA797JUUULmMbqh_WNv_8eW4,968
|
98
|
+
studyfetch_sdk/types/v1/materials/upload_upload_file_params.py,sha256=xXr5PyBMznRe4HtmqcBOrUbc_S4hzeTLJGWWQ_5XA-I,669
|
148
99
|
studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py,sha256=q4F7cBkJ7srXSkBosfiiApDETBz_lFJ0tPIUyHIUJXA,523
|
149
100
|
studyfetch_sdk/types/v1/materials/upload_upload_url_and_process_params.py,sha256=27MFaOv5xrEIwL_27YxSWx17hNZrCbmAMz_MOeaFrfU,827
|
150
|
-
studyfetch_sdk/types/v1/scenarios/__init__.py,sha256=2DyrawNlb-TstNKw0gUMlQaNSq-UAUcLhmOGElM0l0U,207
|
151
|
-
studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=0wsa-_gN17TKmvhQBbCIQmN2gSEuCq2HBWjQaTqhFdk,1171
|
152
|
-
studyfetch_sdk/types/v1/scenarios/submissions/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
153
|
-
studyfetch_sdk/types/v1/tests/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
154
|
-
studyfetch_sdk/types/v1/upload/__init__.py,sha256=oVLQUp-Sxua2NMNauXzopFmF34HjL_KZMjxlqMu7zW8,845
|
155
|
-
studyfetch_sdk/types/v1/upload/component_complete_upload_params.py,sha256=B3-7nCdLI4S_q0qa8NBS7gNwL0F8ljYVvEbo9fwCkXQ,687
|
156
|
-
studyfetch_sdk/types/v1/upload/component_complete_upload_response.py,sha256=fOWcCnkzzLlYtwKjmdh4X4hlGVOKUNDA1DmnM5jb1ao,378
|
157
|
-
studyfetch_sdk/types/v1/upload/component_get_presigned_url_params.py,sha256=dTGFn9zyOY9z3NNdPw732L3Ln7D1GKA3S8xB3FBPb7c,754
|
158
|
-
studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py,sha256=RDHDy3IO_qjtnfLHJQ2CX2_uG6_BJI-vwgQk2UJ-aE8,404
|
159
|
-
studyfetch_sdk/types/v1/upload/component_upload_file_params.py,sha256=UTv4EMrj7_hXa-PU68PMEyXn-bnhxcC0V0qO0JN5W-I,652
|
160
|
-
studyfetch_sdk/types/v1/upload/component_upload_url_params.py,sha256=3wXvto5WWzLYCu0EfQAWQgM73OmbRGhTwe6UnkMW0gM,687
|
161
|
-
studyfetch_sdk/types/v1/upload/file_upload_response.py,sha256=z7LcH_BVu1meWzl9J3BeLOkcZr4NQmdtJV39SobbI1k,578
|
162
101
|
studyfetch_sdk/types/v1/usage/__init__.py,sha256=3h0IuGOlhWTwXAOPSFiZN8i5KxWfHN7E_ypXfaZ5BNw,550
|
163
102
|
studyfetch_sdk/types/v1/usage/analyst_get_test_questions_params.py,sha256=yADHiEpAZaeLoEZoBd4UweQgC-9ofsMj9zeTr1xgqOo,551
|
164
103
|
studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_params.py,sha256=aiT5FyLIiw94prXV-bY3ipPhclzIcCnaXF5BaGZUkik,552
|
165
104
|
studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_response.py,sha256=lJ85gWKgsGGX0uRCsOUXkdzz_Y5JSX7x76St1C7pwy0,1014
|
166
105
|
studyfetch_sdk/types/v1/usage/analyst_list_events_params.py,sha256=wQplMMNjjeTOeNneqgWFQstxFHh4aXhpUeVGUZZeifk,1799
|
167
|
-
studyfetch_sdk-0.1.
|
168
|
-
studyfetch_sdk-0.1.
|
169
|
-
studyfetch_sdk-0.1.
|
170
|
-
studyfetch_sdk-0.1.
|
106
|
+
studyfetch_sdk-0.1.0a21.dist-info/METADATA,sha256=n2ABNL8wOG0nJkUY5HXDOO283rwp1rcnYMiUug8GuHA,15518
|
107
|
+
studyfetch_sdk-0.1.0a21.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
108
|
+
studyfetch_sdk-0.1.0a21.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
|
109
|
+
studyfetch_sdk-0.1.0a21.dist-info/RECORD,,
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from .sections import (
|
4
|
-
SectionsResource,
|
5
|
-
AsyncSectionsResource,
|
6
|
-
SectionsResourceWithRawResponse,
|
7
|
-
AsyncSectionsResourceWithRawResponse,
|
8
|
-
SectionsResourceWithStreamingResponse,
|
9
|
-
AsyncSectionsResourceWithStreamingResponse,
|
10
|
-
)
|
11
|
-
from .audio_recaps import (
|
12
|
-
AudioRecapsResource,
|
13
|
-
AsyncAudioRecapsResource,
|
14
|
-
AudioRecapsResourceWithRawResponse,
|
15
|
-
AsyncAudioRecapsResourceWithRawResponse,
|
16
|
-
AudioRecapsResourceWithStreamingResponse,
|
17
|
-
AsyncAudioRecapsResourceWithStreamingResponse,
|
18
|
-
)
|
19
|
-
|
20
|
-
__all__ = [
|
21
|
-
"SectionsResource",
|
22
|
-
"AsyncSectionsResource",
|
23
|
-
"SectionsResourceWithRawResponse",
|
24
|
-
"AsyncSectionsResourceWithRawResponse",
|
25
|
-
"SectionsResourceWithStreamingResponse",
|
26
|
-
"AsyncSectionsResourceWithStreamingResponse",
|
27
|
-
"AudioRecapsResource",
|
28
|
-
"AsyncAudioRecapsResource",
|
29
|
-
"AudioRecapsResourceWithRawResponse",
|
30
|
-
"AsyncAudioRecapsResourceWithRawResponse",
|
31
|
-
"AudioRecapsResourceWithStreamingResponse",
|
32
|
-
"AsyncAudioRecapsResourceWithStreamingResponse",
|
33
|
-
]
|
@@ -1,328 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
import httpx
|
6
|
-
|
7
|
-
from .sections import (
|
8
|
-
SectionsResource,
|
9
|
-
AsyncSectionsResource,
|
10
|
-
SectionsResourceWithRawResponse,
|
11
|
-
AsyncSectionsResourceWithRawResponse,
|
12
|
-
SectionsResourceWithStreamingResponse,
|
13
|
-
AsyncSectionsResourceWithStreamingResponse,
|
14
|
-
)
|
15
|
-
from ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
16
|
-
from ...._compat import cached_property
|
17
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
18
|
-
from ...._response import (
|
19
|
-
to_raw_response_wrapper,
|
20
|
-
to_streamed_response_wrapper,
|
21
|
-
async_to_raw_response_wrapper,
|
22
|
-
async_to_streamed_response_wrapper,
|
23
|
-
)
|
24
|
-
from ...._base_client import make_request_options
|
25
|
-
|
26
|
-
__all__ = ["AudioRecapsResource", "AsyncAudioRecapsResource"]
|
27
|
-
|
28
|
-
|
29
|
-
class AudioRecapsResource(SyncAPIResource):
|
30
|
-
@cached_property
|
31
|
-
def sections(self) -> SectionsResource:
|
32
|
-
return SectionsResource(self._client)
|
33
|
-
|
34
|
-
@cached_property
|
35
|
-
def with_raw_response(self) -> AudioRecapsResourceWithRawResponse:
|
36
|
-
"""
|
37
|
-
This property can be used as a prefix for any HTTP method call to return
|
38
|
-
the raw response object instead of the parsed content.
|
39
|
-
|
40
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
|
41
|
-
"""
|
42
|
-
return AudioRecapsResourceWithRawResponse(self)
|
43
|
-
|
44
|
-
@cached_property
|
45
|
-
def with_streaming_response(self) -> AudioRecapsResourceWithStreamingResponse:
|
46
|
-
"""
|
47
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
48
|
-
|
49
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
|
50
|
-
"""
|
51
|
-
return AudioRecapsResourceWithStreamingResponse(self)
|
52
|
-
|
53
|
-
def create(
|
54
|
-
self,
|
55
|
-
*,
|
56
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
57
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
58
|
-
extra_headers: Headers | None = None,
|
59
|
-
extra_query: Query | None = None,
|
60
|
-
extra_body: Body | None = None,
|
61
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
62
|
-
) -> None:
|
63
|
-
"""Create a new audio recap"""
|
64
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
65
|
-
return self._post(
|
66
|
-
"/api/v1/audio-recaps/create",
|
67
|
-
options=make_request_options(
|
68
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
69
|
-
),
|
70
|
-
cast_to=NoneType,
|
71
|
-
)
|
72
|
-
|
73
|
-
def retrieve(
|
74
|
-
self,
|
75
|
-
recap_id: str,
|
76
|
-
*,
|
77
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
78
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
79
|
-
extra_headers: Headers | None = None,
|
80
|
-
extra_query: Query | None = None,
|
81
|
-
extra_body: Body | None = None,
|
82
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
83
|
-
) -> None:
|
84
|
-
"""
|
85
|
-
Get audio recap by ID
|
86
|
-
|
87
|
-
Args:
|
88
|
-
extra_headers: Send extra headers
|
89
|
-
|
90
|
-
extra_query: Add additional query parameters to the request
|
91
|
-
|
92
|
-
extra_body: Add additional JSON properties to the request
|
93
|
-
|
94
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
95
|
-
"""
|
96
|
-
if not recap_id:
|
97
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
98
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
99
|
-
return self._get(
|
100
|
-
f"/api/v1/audio-recaps/{recap_id}/get",
|
101
|
-
options=make_request_options(
|
102
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
103
|
-
),
|
104
|
-
cast_to=NoneType,
|
105
|
-
)
|
106
|
-
|
107
|
-
def ask_question(
|
108
|
-
self,
|
109
|
-
recap_id: str,
|
110
|
-
*,
|
111
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
112
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
113
|
-
extra_headers: Headers | None = None,
|
114
|
-
extra_query: Query | None = None,
|
115
|
-
extra_body: Body | None = None,
|
116
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
117
|
-
) -> None:
|
118
|
-
"""
|
119
|
-
Ask a question about the audio recap
|
120
|
-
|
121
|
-
Args:
|
122
|
-
extra_headers: Send extra headers
|
123
|
-
|
124
|
-
extra_query: Add additional query parameters to the request
|
125
|
-
|
126
|
-
extra_body: Add additional JSON properties to the request
|
127
|
-
|
128
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
129
|
-
"""
|
130
|
-
if not recap_id:
|
131
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
132
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
133
|
-
return self._post(
|
134
|
-
f"/api/v1/audio-recaps/{recap_id}/ask-question",
|
135
|
-
options=make_request_options(
|
136
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
137
|
-
),
|
138
|
-
cast_to=NoneType,
|
139
|
-
)
|
140
|
-
|
141
|
-
|
142
|
-
class AsyncAudioRecapsResource(AsyncAPIResource):
|
143
|
-
@cached_property
|
144
|
-
def sections(self) -> AsyncSectionsResource:
|
145
|
-
return AsyncSectionsResource(self._client)
|
146
|
-
|
147
|
-
@cached_property
|
148
|
-
def with_raw_response(self) -> AsyncAudioRecapsResourceWithRawResponse:
|
149
|
-
"""
|
150
|
-
This property can be used as a prefix for any HTTP method call to return
|
151
|
-
the raw response object instead of the parsed content.
|
152
|
-
|
153
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
|
154
|
-
"""
|
155
|
-
return AsyncAudioRecapsResourceWithRawResponse(self)
|
156
|
-
|
157
|
-
@cached_property
|
158
|
-
def with_streaming_response(self) -> AsyncAudioRecapsResourceWithStreamingResponse:
|
159
|
-
"""
|
160
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
161
|
-
|
162
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
|
163
|
-
"""
|
164
|
-
return AsyncAudioRecapsResourceWithStreamingResponse(self)
|
165
|
-
|
166
|
-
async def create(
|
167
|
-
self,
|
168
|
-
*,
|
169
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
170
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
171
|
-
extra_headers: Headers | None = None,
|
172
|
-
extra_query: Query | None = None,
|
173
|
-
extra_body: Body | None = None,
|
174
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
175
|
-
) -> None:
|
176
|
-
"""Create a new audio recap"""
|
177
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
178
|
-
return await self._post(
|
179
|
-
"/api/v1/audio-recaps/create",
|
180
|
-
options=make_request_options(
|
181
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
182
|
-
),
|
183
|
-
cast_to=NoneType,
|
184
|
-
)
|
185
|
-
|
186
|
-
async def retrieve(
|
187
|
-
self,
|
188
|
-
recap_id: str,
|
189
|
-
*,
|
190
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
191
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
192
|
-
extra_headers: Headers | None = None,
|
193
|
-
extra_query: Query | None = None,
|
194
|
-
extra_body: Body | None = None,
|
195
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
196
|
-
) -> None:
|
197
|
-
"""
|
198
|
-
Get audio recap by ID
|
199
|
-
|
200
|
-
Args:
|
201
|
-
extra_headers: Send extra headers
|
202
|
-
|
203
|
-
extra_query: Add additional query parameters to the request
|
204
|
-
|
205
|
-
extra_body: Add additional JSON properties to the request
|
206
|
-
|
207
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
208
|
-
"""
|
209
|
-
if not recap_id:
|
210
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
211
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
212
|
-
return await self._get(
|
213
|
-
f"/api/v1/audio-recaps/{recap_id}/get",
|
214
|
-
options=make_request_options(
|
215
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
216
|
-
),
|
217
|
-
cast_to=NoneType,
|
218
|
-
)
|
219
|
-
|
220
|
-
async def ask_question(
|
221
|
-
self,
|
222
|
-
recap_id: str,
|
223
|
-
*,
|
224
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
225
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
226
|
-
extra_headers: Headers | None = None,
|
227
|
-
extra_query: Query | None = None,
|
228
|
-
extra_body: Body | None = None,
|
229
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
230
|
-
) -> None:
|
231
|
-
"""
|
232
|
-
Ask a question about the audio recap
|
233
|
-
|
234
|
-
Args:
|
235
|
-
extra_headers: Send extra headers
|
236
|
-
|
237
|
-
extra_query: Add additional query parameters to the request
|
238
|
-
|
239
|
-
extra_body: Add additional JSON properties to the request
|
240
|
-
|
241
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
242
|
-
"""
|
243
|
-
if not recap_id:
|
244
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
245
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
246
|
-
return await self._post(
|
247
|
-
f"/api/v1/audio-recaps/{recap_id}/ask-question",
|
248
|
-
options=make_request_options(
|
249
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
250
|
-
),
|
251
|
-
cast_to=NoneType,
|
252
|
-
)
|
253
|
-
|
254
|
-
|
255
|
-
class AudioRecapsResourceWithRawResponse:
|
256
|
-
def __init__(self, audio_recaps: AudioRecapsResource) -> None:
|
257
|
-
self._audio_recaps = audio_recaps
|
258
|
-
|
259
|
-
self.create = to_raw_response_wrapper(
|
260
|
-
audio_recaps.create,
|
261
|
-
)
|
262
|
-
self.retrieve = to_raw_response_wrapper(
|
263
|
-
audio_recaps.retrieve,
|
264
|
-
)
|
265
|
-
self.ask_question = to_raw_response_wrapper(
|
266
|
-
audio_recaps.ask_question,
|
267
|
-
)
|
268
|
-
|
269
|
-
@cached_property
|
270
|
-
def sections(self) -> SectionsResourceWithRawResponse:
|
271
|
-
return SectionsResourceWithRawResponse(self._audio_recaps.sections)
|
272
|
-
|
273
|
-
|
274
|
-
class AsyncAudioRecapsResourceWithRawResponse:
|
275
|
-
def __init__(self, audio_recaps: AsyncAudioRecapsResource) -> None:
|
276
|
-
self._audio_recaps = audio_recaps
|
277
|
-
|
278
|
-
self.create = async_to_raw_response_wrapper(
|
279
|
-
audio_recaps.create,
|
280
|
-
)
|
281
|
-
self.retrieve = async_to_raw_response_wrapper(
|
282
|
-
audio_recaps.retrieve,
|
283
|
-
)
|
284
|
-
self.ask_question = async_to_raw_response_wrapper(
|
285
|
-
audio_recaps.ask_question,
|
286
|
-
)
|
287
|
-
|
288
|
-
@cached_property
|
289
|
-
def sections(self) -> AsyncSectionsResourceWithRawResponse:
|
290
|
-
return AsyncSectionsResourceWithRawResponse(self._audio_recaps.sections)
|
291
|
-
|
292
|
-
|
293
|
-
class AudioRecapsResourceWithStreamingResponse:
|
294
|
-
def __init__(self, audio_recaps: AudioRecapsResource) -> None:
|
295
|
-
self._audio_recaps = audio_recaps
|
296
|
-
|
297
|
-
self.create = to_streamed_response_wrapper(
|
298
|
-
audio_recaps.create,
|
299
|
-
)
|
300
|
-
self.retrieve = to_streamed_response_wrapper(
|
301
|
-
audio_recaps.retrieve,
|
302
|
-
)
|
303
|
-
self.ask_question = to_streamed_response_wrapper(
|
304
|
-
audio_recaps.ask_question,
|
305
|
-
)
|
306
|
-
|
307
|
-
@cached_property
|
308
|
-
def sections(self) -> SectionsResourceWithStreamingResponse:
|
309
|
-
return SectionsResourceWithStreamingResponse(self._audio_recaps.sections)
|
310
|
-
|
311
|
-
|
312
|
-
class AsyncAudioRecapsResourceWithStreamingResponse:
|
313
|
-
def __init__(self, audio_recaps: AsyncAudioRecapsResource) -> None:
|
314
|
-
self._audio_recaps = audio_recaps
|
315
|
-
|
316
|
-
self.create = async_to_streamed_response_wrapper(
|
317
|
-
audio_recaps.create,
|
318
|
-
)
|
319
|
-
self.retrieve = async_to_streamed_response_wrapper(
|
320
|
-
audio_recaps.retrieve,
|
321
|
-
)
|
322
|
-
self.ask_question = async_to_streamed_response_wrapper(
|
323
|
-
audio_recaps.ask_question,
|
324
|
-
)
|
325
|
-
|
326
|
-
@cached_property
|
327
|
-
def sections(self) -> AsyncSectionsResourceWithStreamingResponse:
|
328
|
-
return AsyncSectionsResourceWithStreamingResponse(self._audio_recaps.sections)
|