studyfetch-sdk 0.1.0a18__py3-none-any.whl → 0.1.0a20__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.
Files changed (78) hide show
  1. studyfetch_sdk/_models.py +24 -3
  2. studyfetch_sdk/_version.py +1 -1
  3. studyfetch_sdk/resources/v1/__init__.py +0 -84
  4. studyfetch_sdk/resources/v1/assignment_grader.py +81 -1
  5. studyfetch_sdk/resources/v1/components.py +36 -4
  6. studyfetch_sdk/resources/v1/materials/materials.py +130 -2
  7. studyfetch_sdk/resources/v1/materials/upload.py +286 -0
  8. studyfetch_sdk/resources/v1/usage/analyst.py +143 -15
  9. studyfetch_sdk/resources/v1/v1.py +66 -192
  10. studyfetch_sdk/types/v1/__init__.py +2 -20
  11. studyfetch_sdk/types/v1/assignment_grader_response.py +20 -1
  12. studyfetch_sdk/types/v1/component.py +9 -1
  13. studyfetch_sdk/types/v1/component_create_params.py +81 -1
  14. studyfetch_sdk/types/v1/component_generate_embed_params.py +7 -1
  15. studyfetch_sdk/types/v1/component_list_params.py +9 -1
  16. studyfetch_sdk/types/v1/content_param.py +23 -0
  17. studyfetch_sdk/types/v1/material_create_and_process_params.py +27 -0
  18. studyfetch_sdk/types/v1/material_create_params.py +4 -17
  19. studyfetch_sdk/types/v1/materials/__init__.py +2 -0
  20. studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py +3 -0
  21. studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py +29 -0
  22. studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +3 -0
  23. studyfetch_sdk/types/v1/materials/upload_upload_url_and_process_params.py +26 -0
  24. studyfetch_sdk/types/v1/usage/__init__.py +3 -0
  25. studyfetch_sdk/types/v1/usage/analyst_get_test_questions_params.py +18 -0
  26. studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_params.py +18 -0
  27. studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_response.py +35 -0
  28. studyfetch_sdk/types/v1/usage/analyst_list_events_params.py +7 -0
  29. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/METADATA +1 -1
  30. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/RECORD +32 -71
  31. studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -33
  32. studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -328
  33. studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -250
  34. studyfetch_sdk/resources/v1/chat/__init__.py +0 -47
  35. studyfetch_sdk/resources/v1/chat/chat.py +0 -574
  36. studyfetch_sdk/resources/v1/chat/sessions.py +0 -222
  37. studyfetch_sdk/resources/v1/chat/test.py +0 -190
  38. studyfetch_sdk/resources/v1/explainers.py +0 -441
  39. studyfetch_sdk/resources/v1/flashcards.py +0 -783
  40. studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -61
  41. studyfetch_sdk/resources/v1/scenarios/component.py +0 -426
  42. studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -936
  43. studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -236
  44. studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -33
  45. studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -102
  46. studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -210
  47. studyfetch_sdk/resources/v1/tests/__init__.py +0 -33
  48. studyfetch_sdk/resources/v1/tests/component.py +0 -160
  49. studyfetch_sdk/resources/v1/tests/tests.py +0 -682
  50. studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -3
  51. studyfetch_sdk/types/v1/chat/__init__.py +0 -5
  52. studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -11
  53. studyfetch_sdk/types/v1/chat_get_session_params.py +0 -13
  54. studyfetch_sdk/types/v1/chat_send_message_params.py +0 -54
  55. studyfetch_sdk/types/v1/chat_stream_params.py +0 -28
  56. studyfetch_sdk/types/v1/explainer_create_params.py +0 -45
  57. studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -53
  58. studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -36
  59. studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -39
  60. studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py +0 -37
  61. studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -23
  62. studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -19
  63. studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -17
  64. studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -14
  65. studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -23
  66. studyfetch_sdk/types/v1/scenario_create_params.py +0 -48
  67. studyfetch_sdk/types/v1/scenario_submit_answer_params.py +0 -18
  68. studyfetch_sdk/types/v1/scenario_update_params.py +0 -45
  69. studyfetch_sdk/types/v1/scenarios/__init__.py +0 -5
  70. studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -45
  71. studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -3
  72. studyfetch_sdk/types/v1/test_create_params.py +0 -20
  73. studyfetch_sdk/types/v1/test_retake_params.py +0 -14
  74. studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -20
  75. studyfetch_sdk/types/v1/test_submit_params.py +0 -14
  76. studyfetch_sdk/types/v1/tests/__init__.py +0 -3
  77. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/WHEEL +0 -0
  78. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/licenses/LICENSE +0 -0
@@ -1,61 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from .sessions import (
4
- SessionsResource,
5
- AsyncSessionsResource,
6
- SessionsResourceWithRawResponse,
7
- AsyncSessionsResourceWithRawResponse,
8
- SessionsResourceWithStreamingResponse,
9
- AsyncSessionsResourceWithStreamingResponse,
10
- )
11
- from .component import (
12
- ComponentResource,
13
- AsyncComponentResource,
14
- ComponentResourceWithRawResponse,
15
- AsyncComponentResourceWithRawResponse,
16
- ComponentResourceWithStreamingResponse,
17
- AsyncComponentResourceWithStreamingResponse,
18
- )
19
- from .scenarios import (
20
- ScenariosResource,
21
- AsyncScenariosResource,
22
- ScenariosResourceWithRawResponse,
23
- AsyncScenariosResourceWithRawResponse,
24
- ScenariosResourceWithStreamingResponse,
25
- AsyncScenariosResourceWithStreamingResponse,
26
- )
27
- from .submissions import (
28
- SubmissionsResource,
29
- AsyncSubmissionsResource,
30
- SubmissionsResourceWithRawResponse,
31
- AsyncSubmissionsResourceWithRawResponse,
32
- SubmissionsResourceWithStreamingResponse,
33
- AsyncSubmissionsResourceWithStreamingResponse,
34
- )
35
-
36
- __all__ = [
37
- "ComponentResource",
38
- "AsyncComponentResource",
39
- "ComponentResourceWithRawResponse",
40
- "AsyncComponentResourceWithRawResponse",
41
- "ComponentResourceWithStreamingResponse",
42
- "AsyncComponentResourceWithStreamingResponse",
43
- "SessionsResource",
44
- "AsyncSessionsResource",
45
- "SessionsResourceWithRawResponse",
46
- "AsyncSessionsResourceWithRawResponse",
47
- "SessionsResourceWithStreamingResponse",
48
- "AsyncSessionsResourceWithStreamingResponse",
49
- "SubmissionsResource",
50
- "AsyncSubmissionsResource",
51
- "SubmissionsResourceWithRawResponse",
52
- "AsyncSubmissionsResourceWithRawResponse",
53
- "SubmissionsResourceWithStreamingResponse",
54
- "AsyncSubmissionsResourceWithStreamingResponse",
55
- "ScenariosResource",
56
- "AsyncScenariosResource",
57
- "ScenariosResourceWithRawResponse",
58
- "AsyncScenariosResourceWithRawResponse",
59
- "ScenariosResourceWithStreamingResponse",
60
- "AsyncScenariosResourceWithStreamingResponse",
61
- ]
@@ -1,426 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable
6
-
7
- import httpx
8
-
9
- from ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
10
- from ...._utils import maybe_transform, async_maybe_transform
11
- from ...._compat import cached_property
12
- from ...._resource import SyncAPIResource, AsyncAPIResource
13
- from ...._response import (
14
- to_raw_response_wrapper,
15
- to_streamed_response_wrapper,
16
- async_to_raw_response_wrapper,
17
- async_to_streamed_response_wrapper,
18
- )
19
- from ...._base_client import make_request_options
20
- from ....types.v1.scenarios import component_update_params
21
-
22
- __all__ = ["ComponentResource", "AsyncComponentResource"]
23
-
24
-
25
- class ComponentResource(SyncAPIResource):
26
- @cached_property
27
- def with_raw_response(self) -> ComponentResourceWithRawResponse:
28
- """
29
- This property can be used as a prefix for any HTTP method call to return
30
- the raw response object instead of the parsed content.
31
-
32
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
33
- """
34
- return ComponentResourceWithRawResponse(self)
35
-
36
- @cached_property
37
- def with_streaming_response(self) -> ComponentResourceWithStreamingResponse:
38
- """
39
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
40
-
41
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
42
- """
43
- return ComponentResourceWithStreamingResponse(self)
44
-
45
- def retrieve(
46
- self,
47
- component_id: str,
48
- *,
49
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
50
- # The extra values given here take precedence over values defined on the client or passed to this method.
51
- extra_headers: Headers | None = None,
52
- extra_query: Query | None = None,
53
- extra_body: Body | None = None,
54
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
55
- ) -> None:
56
- """
57
- Get scenario by component ID
58
-
59
- Args:
60
- extra_headers: Send extra headers
61
-
62
- extra_query: Add additional query parameters to the request
63
-
64
- extra_body: Add additional JSON properties to the request
65
-
66
- timeout: Override the client-level default timeout for this request, in seconds
67
- """
68
- if not component_id:
69
- raise ValueError(f"Expected a non-empty value for `component_id` but received {component_id!r}")
70
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
71
- return self._get(
72
- f"/api/v1/scenarios/component/{component_id}",
73
- options=make_request_options(
74
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
75
- ),
76
- cast_to=NoneType,
77
- )
78
-
79
- def update(
80
- self,
81
- component_id: str,
82
- *,
83
- name: str,
84
- characters: Iterable[object] | NotGiven = NOT_GIVEN,
85
- context: str | NotGiven = NOT_GIVEN,
86
- description: str | NotGiven = NOT_GIVEN,
87
- final_answer_prompt: str | NotGiven = NOT_GIVEN,
88
- format: str | NotGiven = NOT_GIVEN,
89
- goal: str | NotGiven = NOT_GIVEN,
90
- greeting_character_id: str | NotGiven = NOT_GIVEN,
91
- greeting_message: str | NotGiven = NOT_GIVEN,
92
- requires_final_answer: bool | NotGiven = NOT_GIVEN,
93
- tools: Iterable[object] | NotGiven = NOT_GIVEN,
94
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
95
- # The extra values given here take precedence over values defined on the client or passed to this method.
96
- extra_headers: Headers | None = None,
97
- extra_query: Query | None = None,
98
- extra_body: Body | None = None,
99
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
100
- ) -> None:
101
- """
102
- Update scenario by component ID
103
-
104
- Args:
105
- name: Scenario name
106
-
107
- characters: Scenario characters
108
-
109
- context: Scenario context
110
-
111
- description: Scenario description
112
-
113
- final_answer_prompt: Prompt for final answer
114
-
115
- format: Interaction format
116
-
117
- goal: Scenario goal
118
-
119
- greeting_character_id: Character ID for greeting
120
-
121
- greeting_message: Greeting message
122
-
123
- requires_final_answer: Whether scenario requires a final answer
124
-
125
- tools: Available tools
126
-
127
- extra_headers: Send extra headers
128
-
129
- extra_query: Add additional query parameters to the request
130
-
131
- extra_body: Add additional JSON properties to the request
132
-
133
- timeout: Override the client-level default timeout for this request, in seconds
134
- """
135
- if not component_id:
136
- raise ValueError(f"Expected a non-empty value for `component_id` but received {component_id!r}")
137
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
138
- return self._put(
139
- f"/api/v1/scenarios/component/{component_id}",
140
- body=maybe_transform(
141
- {
142
- "name": name,
143
- "characters": characters,
144
- "context": context,
145
- "description": description,
146
- "final_answer_prompt": final_answer_prompt,
147
- "format": format,
148
- "goal": goal,
149
- "greeting_character_id": greeting_character_id,
150
- "greeting_message": greeting_message,
151
- "requires_final_answer": requires_final_answer,
152
- "tools": tools,
153
- },
154
- component_update_params.ComponentUpdateParams,
155
- ),
156
- options=make_request_options(
157
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
158
- ),
159
- cast_to=NoneType,
160
- )
161
-
162
- def delete(
163
- self,
164
- component_id: str,
165
- *,
166
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
167
- # The extra values given here take precedence over values defined on the client or passed to this method.
168
- extra_headers: Headers | None = None,
169
- extra_query: Query | None = None,
170
- extra_body: Body | None = None,
171
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
172
- ) -> None:
173
- """
174
- Delete scenario by component ID
175
-
176
- Args:
177
- extra_headers: Send extra headers
178
-
179
- extra_query: Add additional query parameters to the request
180
-
181
- extra_body: Add additional JSON properties to the request
182
-
183
- timeout: Override the client-level default timeout for this request, in seconds
184
- """
185
- if not component_id:
186
- raise ValueError(f"Expected a non-empty value for `component_id` but received {component_id!r}")
187
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
188
- return self._delete(
189
- f"/api/v1/scenarios/component/{component_id}",
190
- options=make_request_options(
191
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
192
- ),
193
- cast_to=NoneType,
194
- )
195
-
196
-
197
- class AsyncComponentResource(AsyncAPIResource):
198
- @cached_property
199
- def with_raw_response(self) -> AsyncComponentResourceWithRawResponse:
200
- """
201
- This property can be used as a prefix for any HTTP method call to return
202
- the raw response object instead of the parsed content.
203
-
204
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
205
- """
206
- return AsyncComponentResourceWithRawResponse(self)
207
-
208
- @cached_property
209
- def with_streaming_response(self) -> AsyncComponentResourceWithStreamingResponse:
210
- """
211
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
212
-
213
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
214
- """
215
- return AsyncComponentResourceWithStreamingResponse(self)
216
-
217
- async def retrieve(
218
- self,
219
- component_id: str,
220
- *,
221
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
222
- # The extra values given here take precedence over values defined on the client or passed to this method.
223
- extra_headers: Headers | None = None,
224
- extra_query: Query | None = None,
225
- extra_body: Body | None = None,
226
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
227
- ) -> None:
228
- """
229
- Get scenario by component ID
230
-
231
- Args:
232
- extra_headers: Send extra headers
233
-
234
- extra_query: Add additional query parameters to the request
235
-
236
- extra_body: Add additional JSON properties to the request
237
-
238
- timeout: Override the client-level default timeout for this request, in seconds
239
- """
240
- if not component_id:
241
- raise ValueError(f"Expected a non-empty value for `component_id` but received {component_id!r}")
242
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
243
- return await self._get(
244
- f"/api/v1/scenarios/component/{component_id}",
245
- options=make_request_options(
246
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
247
- ),
248
- cast_to=NoneType,
249
- )
250
-
251
- async def update(
252
- self,
253
- component_id: str,
254
- *,
255
- name: str,
256
- characters: Iterable[object] | NotGiven = NOT_GIVEN,
257
- context: str | NotGiven = NOT_GIVEN,
258
- description: str | NotGiven = NOT_GIVEN,
259
- final_answer_prompt: str | NotGiven = NOT_GIVEN,
260
- format: str | NotGiven = NOT_GIVEN,
261
- goal: str | NotGiven = NOT_GIVEN,
262
- greeting_character_id: str | NotGiven = NOT_GIVEN,
263
- greeting_message: str | NotGiven = NOT_GIVEN,
264
- requires_final_answer: bool | NotGiven = NOT_GIVEN,
265
- tools: Iterable[object] | NotGiven = NOT_GIVEN,
266
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
267
- # The extra values given here take precedence over values defined on the client or passed to this method.
268
- extra_headers: Headers | None = None,
269
- extra_query: Query | None = None,
270
- extra_body: Body | None = None,
271
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
272
- ) -> None:
273
- """
274
- Update scenario by component ID
275
-
276
- Args:
277
- name: Scenario name
278
-
279
- characters: Scenario characters
280
-
281
- context: Scenario context
282
-
283
- description: Scenario description
284
-
285
- final_answer_prompt: Prompt for final answer
286
-
287
- format: Interaction format
288
-
289
- goal: Scenario goal
290
-
291
- greeting_character_id: Character ID for greeting
292
-
293
- greeting_message: Greeting message
294
-
295
- requires_final_answer: Whether scenario requires a final answer
296
-
297
- tools: Available tools
298
-
299
- extra_headers: Send extra headers
300
-
301
- extra_query: Add additional query parameters to the request
302
-
303
- extra_body: Add additional JSON properties to the request
304
-
305
- timeout: Override the client-level default timeout for this request, in seconds
306
- """
307
- if not component_id:
308
- raise ValueError(f"Expected a non-empty value for `component_id` but received {component_id!r}")
309
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
310
- return await self._put(
311
- f"/api/v1/scenarios/component/{component_id}",
312
- body=await async_maybe_transform(
313
- {
314
- "name": name,
315
- "characters": characters,
316
- "context": context,
317
- "description": description,
318
- "final_answer_prompt": final_answer_prompt,
319
- "format": format,
320
- "goal": goal,
321
- "greeting_character_id": greeting_character_id,
322
- "greeting_message": greeting_message,
323
- "requires_final_answer": requires_final_answer,
324
- "tools": tools,
325
- },
326
- component_update_params.ComponentUpdateParams,
327
- ),
328
- options=make_request_options(
329
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
330
- ),
331
- cast_to=NoneType,
332
- )
333
-
334
- async def delete(
335
- self,
336
- component_id: str,
337
- *,
338
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
339
- # The extra values given here take precedence over values defined on the client or passed to this method.
340
- extra_headers: Headers | None = None,
341
- extra_query: Query | None = None,
342
- extra_body: Body | None = None,
343
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
344
- ) -> None:
345
- """
346
- Delete scenario by component ID
347
-
348
- Args:
349
- extra_headers: Send extra headers
350
-
351
- extra_query: Add additional query parameters to the request
352
-
353
- extra_body: Add additional JSON properties to the request
354
-
355
- timeout: Override the client-level default timeout for this request, in seconds
356
- """
357
- if not component_id:
358
- raise ValueError(f"Expected a non-empty value for `component_id` but received {component_id!r}")
359
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
360
- return await self._delete(
361
- f"/api/v1/scenarios/component/{component_id}",
362
- options=make_request_options(
363
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
364
- ),
365
- cast_to=NoneType,
366
- )
367
-
368
-
369
- class ComponentResourceWithRawResponse:
370
- def __init__(self, component: ComponentResource) -> None:
371
- self._component = component
372
-
373
- self.retrieve = to_raw_response_wrapper(
374
- component.retrieve,
375
- )
376
- self.update = to_raw_response_wrapper(
377
- component.update,
378
- )
379
- self.delete = to_raw_response_wrapper(
380
- component.delete,
381
- )
382
-
383
-
384
- class AsyncComponentResourceWithRawResponse:
385
- def __init__(self, component: AsyncComponentResource) -> None:
386
- self._component = component
387
-
388
- self.retrieve = async_to_raw_response_wrapper(
389
- component.retrieve,
390
- )
391
- self.update = async_to_raw_response_wrapper(
392
- component.update,
393
- )
394
- self.delete = async_to_raw_response_wrapper(
395
- component.delete,
396
- )
397
-
398
-
399
- class ComponentResourceWithStreamingResponse:
400
- def __init__(self, component: ComponentResource) -> None:
401
- self._component = component
402
-
403
- self.retrieve = to_streamed_response_wrapper(
404
- component.retrieve,
405
- )
406
- self.update = to_streamed_response_wrapper(
407
- component.update,
408
- )
409
- self.delete = to_streamed_response_wrapper(
410
- component.delete,
411
- )
412
-
413
-
414
- class AsyncComponentResourceWithStreamingResponse:
415
- def __init__(self, component: AsyncComponentResource) -> None:
416
- self._component = component
417
-
418
- self.retrieve = async_to_streamed_response_wrapper(
419
- component.retrieve,
420
- )
421
- self.update = async_to_streamed_response_wrapper(
422
- component.update,
423
- )
424
- self.delete = async_to_streamed_response_wrapper(
425
- component.delete,
426
- )