3232
3333
3434class CdslResource (SyncAPIResource ):
35+ """Endpoints for parsing CAS PDF files from different sources."""
36+
3537 @cached_property
3638 def fetch (self ) -> FetchResource :
39+ """
40+ Endpoints for fetching CAS documents with instant download.
41+ Currently supports CDSL via OTP authentication.
42+ """
3743 return FetchResource (self ._client )
3844
3945 @cached_property
@@ -113,8 +119,14 @@ def parse_pdf(
113119
114120
115121class AsyncCdslResource (AsyncAPIResource ):
122+ """Endpoints for parsing CAS PDF files from different sources."""
123+
116124 @cached_property
117125 def fetch (self ) -> AsyncFetchResource :
126+ """
127+ Endpoints for fetching CAS documents with instant download.
128+ Currently supports CDSL via OTP authentication.
129+ """
118130 return AsyncFetchResource (self ._client )
119131
120132 @cached_property
@@ -203,6 +215,10 @@ def __init__(self, cdsl: CdslResource) -> None:
203215
204216 @cached_property
205217 def fetch (self ) -> FetchResourceWithRawResponse :
218+ """
219+ Endpoints for fetching CAS documents with instant download.
220+ Currently supports CDSL via OTP authentication.
221+ """
206222 return FetchResourceWithRawResponse (self ._cdsl .fetch )
207223
208224
@@ -216,6 +232,10 @@ def __init__(self, cdsl: AsyncCdslResource) -> None:
216232
217233 @cached_property
218234 def fetch (self ) -> AsyncFetchResourceWithRawResponse :
235+ """
236+ Endpoints for fetching CAS documents with instant download.
237+ Currently supports CDSL via OTP authentication.
238+ """
219239 return AsyncFetchResourceWithRawResponse (self ._cdsl .fetch )
220240
221241
@@ -229,6 +249,10 @@ def __init__(self, cdsl: CdslResource) -> None:
229249
230250 @cached_property
231251 def fetch (self ) -> FetchResourceWithStreamingResponse :
252+ """
253+ Endpoints for fetching CAS documents with instant download.
254+ Currently supports CDSL via OTP authentication.
255+ """
232256 return FetchResourceWithStreamingResponse (self ._cdsl .fetch )
233257
234258
@@ -242,4 +266,8 @@ def __init__(self, cdsl: AsyncCdslResource) -> None:
242266
243267 @cached_property
244268 def fetch (self ) -> AsyncFetchResourceWithStreamingResponse :
269+ """
270+ Endpoints for fetching CAS documents with instant download.
271+ Currently supports CDSL via OTP authentication.
272+ """
245273 return AsyncFetchResourceWithStreamingResponse (self ._cdsl .fetch )
0 commit comments