studyfetch-sdk 0.1.0a7__py3-none-any.whl → 0.1.0a9__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.
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "studyfetch_sdk"
4
- __version__ = "0.1.0-alpha.7" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.9" # x-release-please-version
@@ -8,14 +8,6 @@ from .v1 import (
8
8
  V1ResourceWithStreamingResponse,
9
9
  AsyncV1ResourceWithStreamingResponse,
10
10
  )
11
- from .auth import (
12
- AuthResource,
13
- AsyncAuthResource,
14
- AuthResourceWithRawResponse,
15
- AsyncAuthResourceWithRawResponse,
16
- AuthResourceWithStreamingResponse,
17
- AsyncAuthResourceWithStreamingResponse,
18
- )
19
11
  from .chat import (
20
12
  ChatResource,
21
13
  AsyncChatResource,
@@ -114,12 +106,6 @@ from .audio_recaps import (
114
106
  )
115
107
 
116
108
  __all__ = [
117
- "AuthResource",
118
- "AsyncAuthResource",
119
- "AuthResourceWithRawResponse",
120
- "AsyncAuthResourceWithRawResponse",
121
- "AuthResourceWithStreamingResponse",
122
- "AsyncAuthResourceWithStreamingResponse",
123
109
  "MaterialsResource",
124
110
  "AsyncMaterialsResource",
125
111
  "MaterialsResourceWithRawResponse",
@@ -19,14 +19,6 @@ from .folders import (
19
19
  AsyncFoldersResourceWithStreamingResponse,
20
20
  )
21
21
  from ..._compat import cached_property
22
- from .auth.auth import (
23
- AuthResource,
24
- AsyncAuthResource,
25
- AuthResourceWithRawResponse,
26
- AsyncAuthResourceWithRawResponse,
27
- AuthResourceWithStreamingResponse,
28
- AsyncAuthResourceWithStreamingResponse,
29
- )
30
22
  from .chat.chat import (
31
23
  ChatResource,
32
24
  AsyncChatResource,
@@ -113,10 +105,6 @@ __all__ = ["V1Resource", "AsyncV1Resource"]
113
105
 
114
106
 
115
107
  class V1Resource(SyncAPIResource):
116
- @cached_property
117
- def auth(self) -> AuthResource:
118
- return AuthResource(self._client)
119
-
120
108
  @cached_property
121
109
  def materials(self) -> MaterialsResource:
122
110
  return MaterialsResource(self._client)
@@ -186,10 +174,6 @@ class V1Resource(SyncAPIResource):
186
174
 
187
175
 
188
176
  class AsyncV1Resource(AsyncAPIResource):
189
- @cached_property
190
- def auth(self) -> AsyncAuthResource:
191
- return AsyncAuthResource(self._client)
192
-
193
177
  @cached_property
194
178
  def materials(self) -> AsyncMaterialsResource:
195
179
  return AsyncMaterialsResource(self._client)
@@ -262,10 +246,6 @@ class V1ResourceWithRawResponse:
262
246
  def __init__(self, v1: V1Resource) -> None:
263
247
  self._v1 = v1
264
248
 
265
- @cached_property
266
- def auth(self) -> AuthResourceWithRawResponse:
267
- return AuthResourceWithRawResponse(self._v1.auth)
268
-
269
249
  @cached_property
270
250
  def materials(self) -> MaterialsResourceWithRawResponse:
271
251
  return MaterialsResourceWithRawResponse(self._v1.materials)
@@ -319,10 +299,6 @@ class AsyncV1ResourceWithRawResponse:
319
299
  def __init__(self, v1: AsyncV1Resource) -> None:
320
300
  self._v1 = v1
321
301
 
322
- @cached_property
323
- def auth(self) -> AsyncAuthResourceWithRawResponse:
324
- return AsyncAuthResourceWithRawResponse(self._v1.auth)
325
-
326
302
  @cached_property
327
303
  def materials(self) -> AsyncMaterialsResourceWithRawResponse:
328
304
  return AsyncMaterialsResourceWithRawResponse(self._v1.materials)
@@ -376,10 +352,6 @@ class V1ResourceWithStreamingResponse:
376
352
  def __init__(self, v1: V1Resource) -> None:
377
353
  self._v1 = v1
378
354
 
379
- @cached_property
380
- def auth(self) -> AuthResourceWithStreamingResponse:
381
- return AuthResourceWithStreamingResponse(self._v1.auth)
382
-
383
355
  @cached_property
384
356
  def materials(self) -> MaterialsResourceWithStreamingResponse:
385
357
  return MaterialsResourceWithStreamingResponse(self._v1.materials)
@@ -433,10 +405,6 @@ class AsyncV1ResourceWithStreamingResponse:
433
405
  def __init__(self, v1: AsyncV1Resource) -> None:
434
406
  self._v1 = v1
435
407
 
436
- @cached_property
437
- def auth(self) -> AsyncAuthResourceWithStreamingResponse:
438
- return AsyncAuthResourceWithStreamingResponse(self._v1.auth)
439
-
440
408
  @cached_property
441
409
  def materials(self) -> AsyncMaterialsResourceWithStreamingResponse:
442
410
  return AsyncMaterialsResourceWithStreamingResponse(self._v1.materials)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: studyfetch_sdk
3
- Version: 0.1.0a7
3
+ Version: 0.1.0a9
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
@@ -67,7 +67,13 @@ 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.verify_reset_token()
70
+ component = client.v1.components.create(
71
+ config={"model": "gpt-4o-mini-2024-07-18"},
72
+ name="My Study Component",
73
+ origin="api",
74
+ type="flashcards",
75
+ )
76
+ print(component._id)
71
77
  ```
72
78
 
73
79
  While you can provide an `api_key` keyword argument,
@@ -90,7 +96,13 @@ client = AsyncStudyfetchSDK(
90
96
 
91
97
 
92
98
  async def main() -> None:
93
- await client.v1.auth.verify_reset_token()
99
+ component = await client.v1.components.create(
100
+ config={"model": "gpt-4o-mini-2024-07-18"},
101
+ name="My Study Component",
102
+ origin="api",
103
+ type="flashcards",
104
+ )
105
+ print(component._id)
94
106
 
95
107
 
96
108
  asyncio.run(main())
@@ -122,7 +134,13 @@ async def main() -> None:
122
134
  api_key="My API Key",
123
135
  http_client=DefaultAioHttpClient(),
124
136
  ) as client:
125
- await client.v1.auth.verify_reset_token()
137
+ component = await client.v1.components.create(
138
+ config={"model": "gpt-4o-mini-2024-07-18"},
139
+ name="My Study Component",
140
+ origin="api",
141
+ type="flashcards",
142
+ )
143
+ print(component._id)
126
144
 
127
145
 
128
146
  asyncio.run(main())
@@ -187,7 +205,12 @@ from studyfetch_sdk import StudyfetchSDK
187
205
  client = StudyfetchSDK()
188
206
 
189
207
  try:
190
- client.v1.auth.verify_reset_token()
208
+ client.v1.components.create(
209
+ config={"model": "gpt-4o-mini-2024-07-18"},
210
+ name="My Study Component",
211
+ origin="api",
212
+ type="flashcards",
213
+ )
191
214
  except studyfetch_sdk.APIConnectionError as e:
192
215
  print("The server could not be reached")
193
216
  print(e.__cause__) # an underlying Exception, likely raised within httpx.
@@ -230,7 +253,12 @@ client = StudyfetchSDK(
230
253
  )
231
254
 
232
255
  # Or, configure per-request:
233
- client.with_options(max_retries=5).v1.auth.verify_reset_token()
256
+ client.with_options(max_retries=5).v1.components.create(
257
+ config={"model": "gpt-4o-mini-2024-07-18"},
258
+ name="My Study Component",
259
+ origin="api",
260
+ type="flashcards",
261
+ )
234
262
  ```
235
263
 
236
264
  ### Timeouts
@@ -253,7 +281,12 @@ client = StudyfetchSDK(
253
281
  )
254
282
 
255
283
  # Override per-request:
256
- client.with_options(timeout=5.0).v1.auth.verify_reset_token()
284
+ client.with_options(timeout=5.0).v1.components.create(
285
+ config={"model": "gpt-4o-mini-2024-07-18"},
286
+ name="My Study Component",
287
+ origin="api",
288
+ type="flashcards",
289
+ )
257
290
  ```
258
291
 
259
292
  On timeout, an `APITimeoutError` is thrown.
@@ -294,11 +327,18 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
294
327
  from studyfetch_sdk import StudyfetchSDK
295
328
 
296
329
  client = StudyfetchSDK()
297
- response = client.v1.auth.with_raw_response.verify_reset_token()
330
+ response = client.v1.components.with_raw_response.create(
331
+ config={
332
+ "model": "gpt-4o-mini-2024-07-18"
333
+ },
334
+ name="My Study Component",
335
+ origin="api",
336
+ type="flashcards",
337
+ )
298
338
  print(response.headers.get('X-My-Header'))
299
339
 
300
- auth = response.parse() # get the object that `v1.auth.verify_reset_token()` would have returned
301
- print(auth)
340
+ component = response.parse() # get the object that `v1.components.create()` would have returned
341
+ print(component._id)
302
342
  ```
303
343
 
304
344
  These methods return an [`APIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) object.
@@ -312,7 +352,12 @@ The above interface eagerly reads the full response body when you make the reque
312
352
  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
353
 
314
354
  ```python
315
- with client.v1.auth.with_streaming_response.verify_reset_token() as response:
355
+ with client.v1.components.with_streaming_response.create(
356
+ config={"model": "gpt-4o-mini-2024-07-18"},
357
+ name="My Study Component",
358
+ origin="api",
359
+ type="flashcards",
360
+ ) as response:
316
361
  print(response.headers.get("X-My-Header"))
317
362
 
318
363
  for line in response.iter_lines():
@@ -11,7 +11,7 @@ studyfetch_sdk/_resource.py,sha256=y0aoAqMIYwTAwStuxbpO8XpTPnrSNQQ_ZcgiH5xcntg,1
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=FrQHoamgxDQOY_InsExxDNesNfEIlQMXrDlpSwuVaio,174
14
+ studyfetch_sdk/_version.py,sha256=gYtB4zbL7OSNvCpmdlxwjVsu3fUItiERkp1M6mm93VI,174
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,18 +25,16 @@ 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=HZXFDwaXIHuWpFG74ZBEcvBkOGtBuUkV974tf0bBGCI,6572
28
+ studyfetch_sdk/resources/v1/__init__.py,sha256=XNPhLPJfTtp8K9whE5qPjt0s-awT15mJ9aHeGFCBr-A,6148
29
29
  studyfetch_sdk/resources/v1/components.py,sha256=iU4cy-l8k6_RBtsMvjag0E29nWJpSyktuCFhi4TZEh4,35435
30
30
  studyfetch_sdk/resources/v1/explainers.py,sha256=W5Kq3Gpwqw3kBy9v-qpV5FKxH1HAm5_yk1NgACM-Mec,16047
31
31
  studyfetch_sdk/resources/v1/flashcards.py,sha256=_-zZUd8Ja9k2895cxLJsLbN73ZTIrkJaComGCSMkbCk,29242
32
32
  studyfetch_sdk/resources/v1/folders.py,sha256=o43HhcVhqF3t7xWMFFNIiMPElhoqkXtaCTVjEE5s5so,27436
33
33
  studyfetch_sdk/resources/v1/usage.py,sha256=78OlA8pT13Ggja84nHdJJQoKSn7GjDO3SefPyxsCYWo,18513
34
- studyfetch_sdk/resources/v1/v1.py,sha256=5noiTRTSDFikwpc1bxuDI8JuUHROl7vUa-hLitpWDbA,16705
34
+ studyfetch_sdk/resources/v1/v1.py,sha256=7A5sAf4Z7xjyXJ18BRzEa-W2Vf5kWLb_YR6ZaGosaRM,15705
35
35
  studyfetch_sdk/resources/v1/audio_recaps/__init__.py,sha256=X6oJGmyaqUBFChSn8l0r-EHjCZos36O10zfFYWuid2w,1094
36
36
  studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py,sha256=XAfSWFDbjUSp9bKjDVHqLyrEv3kNtTYSaLtWPRFIzdc,12630
37
37
  studyfetch_sdk/resources/v1/audio_recaps/sections.py,sha256=AcYtFSNemNP2T-fJn2nZkrPNNpaEtqiwPNuTpual2Lw,9451
38
- studyfetch_sdk/resources/v1/auth/__init__.py,sha256=wtCDK9mkf_r1OZdx0Sy-V3cMeS2EILJWJZfX06zUL2U,526
39
- studyfetch_sdk/resources/v1/auth/auth.py,sha256=Oimc3Jjs2Wq3sWpoCHMPMEeF8S8W5xmaJhrRl4FJevM,5075
40
38
  studyfetch_sdk/resources/v1/chat/__init__.py,sha256=WSv53HDkoj5Ec37hiJlCV2V-ZquTjYyG5hU9cOdZPBk,1426
41
39
  studyfetch_sdk/resources/v1/chat/chat.py,sha256=PFySkZ3HsxthOYe5QZYAKkSwJryo6tE7Tl53f7DscYo,21666
42
40
  studyfetch_sdk/resources/v1/chat/sessions.py,sha256=mjcTJFft2zXyQlqhARz_J5md1BfAD3uhDVp-olow83o,8479
@@ -105,7 +103,6 @@ studyfetch_sdk/types/v1/usage_get_stats_params.py,sha256=TQwpTxrPjfa7OA-UdYOVppb
105
103
  studyfetch_sdk/types/v1/usage_get_summary_params.py,sha256=ZFd6VwpQxL59a2akaJDRZbJJcNbZ88KU4S6UreCZr4U,768
106
104
  studyfetch_sdk/types/v1/usage_list_events_params.py,sha256=iMhwqdlaEbtyBqlTpAEcTdYCQumwWVmYBo8czDPLm74,1729
107
105
  studyfetch_sdk/types/v1/audio_recaps/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
108
- studyfetch_sdk/types/v1/auth/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
109
106
  studyfetch_sdk/types/v1/chat/__init__.py,sha256=wYABOEkbpJ2giFls8t8N32vNezDWQvFRnPw_giWy58g,207
110
107
  studyfetch_sdk/types/v1/chat/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWyKv8KGr0Pa4W9e8ZubMysxpty6I,290
111
108
  studyfetch_sdk/types/v1/embed/__init__.py,sha256=PY0v530kkkL8N0ABYvRpyNG0B4-56axqoZ1Gbp6GYq0,303
@@ -119,7 +116,7 @@ studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=_Rs0wRJtrLMK
119
116
  studyfetch_sdk/types/v1/scenarios/submissions/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
120
117
  studyfetch_sdk/types/v1/tests/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
121
118
  studyfetch_sdk/types/v1/upload/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
122
- studyfetch_sdk-0.1.0a7.dist-info/METADATA,sha256=Ogws8-R96EM87u6CseFVEzOobtTwRi0zbLLm9HzboWM,14736
123
- studyfetch_sdk-0.1.0a7.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
124
- studyfetch_sdk-0.1.0a7.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
125
- studyfetch_sdk-0.1.0a7.dist-info/RECORD,,
119
+ studyfetch_sdk-0.1.0a9.dist-info/METADATA,sha256=O7nFCm7coUQ7_nXLfIfFmJJZZw5oHDfzAyZspubJDu8,15869
120
+ studyfetch_sdk-0.1.0a9.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
121
+ studyfetch_sdk-0.1.0a9.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
122
+ studyfetch_sdk-0.1.0a9.dist-info/RECORD,,
@@ -1,19 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from .auth import (
4
- AuthResource,
5
- AsyncAuthResource,
6
- AuthResourceWithRawResponse,
7
- AsyncAuthResourceWithRawResponse,
8
- AuthResourceWithStreamingResponse,
9
- AsyncAuthResourceWithStreamingResponse,
10
- )
11
-
12
- __all__ = [
13
- "AuthResource",
14
- "AsyncAuthResource",
15
- "AuthResourceWithRawResponse",
16
- "AsyncAuthResourceWithRawResponse",
17
- "AuthResourceWithStreamingResponse",
18
- "AsyncAuthResourceWithStreamingResponse",
19
- ]
@@ -1,136 +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 ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
8
- from ...._compat import cached_property
9
- from ...._resource import SyncAPIResource, AsyncAPIResource
10
- from ...._response import (
11
- to_raw_response_wrapper,
12
- to_streamed_response_wrapper,
13
- async_to_raw_response_wrapper,
14
- async_to_streamed_response_wrapper,
15
- )
16
- from ...._base_client import make_request_options
17
-
18
- __all__ = ["AuthResource", "AsyncAuthResource"]
19
-
20
-
21
- class AuthResource(SyncAPIResource):
22
- @cached_property
23
- def with_raw_response(self) -> AuthResourceWithRawResponse:
24
- """
25
- This property can be used as a prefix for any HTTP method call to return
26
- the raw response object instead of the parsed content.
27
-
28
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
29
- """
30
- return AuthResourceWithRawResponse(self)
31
-
32
- @cached_property
33
- def with_streaming_response(self) -> AuthResourceWithStreamingResponse:
34
- """
35
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
36
-
37
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
38
- """
39
- return AuthResourceWithStreamingResponse(self)
40
-
41
- def verify_reset_token(
42
- self,
43
- *,
44
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
45
- # The extra values given here take precedence over values defined on the client or passed to this method.
46
- extra_headers: Headers | None = None,
47
- extra_query: Query | None = None,
48
- extra_body: Body | None = None,
49
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
50
- ) -> None:
51
- """Verify password reset token"""
52
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
53
- return self._post(
54
- "/api/v1/auth/verify-reset-token",
55
- options=make_request_options(
56
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
57
- ),
58
- cast_to=NoneType,
59
- )
60
-
61
-
62
- class AsyncAuthResource(AsyncAPIResource):
63
- @cached_property
64
- def with_raw_response(self) -> AsyncAuthResourceWithRawResponse:
65
- """
66
- This property can be used as a prefix for any HTTP method call to return
67
- the raw response object instead of the parsed content.
68
-
69
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
70
- """
71
- return AsyncAuthResourceWithRawResponse(self)
72
-
73
- @cached_property
74
- def with_streaming_response(self) -> AsyncAuthResourceWithStreamingResponse:
75
- """
76
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
77
-
78
- For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
79
- """
80
- return AsyncAuthResourceWithStreamingResponse(self)
81
-
82
- async def verify_reset_token(
83
- self,
84
- *,
85
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
86
- # The extra values given here take precedence over values defined on the client or passed to this method.
87
- extra_headers: Headers | None = None,
88
- extra_query: Query | None = None,
89
- extra_body: Body | None = None,
90
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
91
- ) -> None:
92
- """Verify password reset token"""
93
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
94
- return await self._post(
95
- "/api/v1/auth/verify-reset-token",
96
- options=make_request_options(
97
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
98
- ),
99
- cast_to=NoneType,
100
- )
101
-
102
-
103
- class AuthResourceWithRawResponse:
104
- def __init__(self, auth: AuthResource) -> None:
105
- self._auth = auth
106
-
107
- self.verify_reset_token = to_raw_response_wrapper(
108
- auth.verify_reset_token,
109
- )
110
-
111
-
112
- class AsyncAuthResourceWithRawResponse:
113
- def __init__(self, auth: AsyncAuthResource) -> None:
114
- self._auth = auth
115
-
116
- self.verify_reset_token = async_to_raw_response_wrapper(
117
- auth.verify_reset_token,
118
- )
119
-
120
-
121
- class AuthResourceWithStreamingResponse:
122
- def __init__(self, auth: AuthResource) -> None:
123
- self._auth = auth
124
-
125
- self.verify_reset_token = to_streamed_response_wrapper(
126
- auth.verify_reset_token,
127
- )
128
-
129
-
130
- class AsyncAuthResourceWithStreamingResponse:
131
- def __init__(self, auth: AsyncAuthResource) -> None:
132
- self._auth = auth
133
-
134
- self.verify_reset_token = async_to_streamed_response_wrapper(
135
- auth.verify_reset_token,
136
- )
@@ -1,3 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations