You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
333
334
```python
335
+
import documenso_sdk
334
336
from documenso_sdk import Documenso
335
337
from documenso_sdk.utils import BackoffStrategy, RetryConfig
336
338
import os
@@ -341,7 +343,7 @@ with Documenso(
341
343
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
342
344
) as documenso:
343
345
344
-
res = documenso.documents.find()
346
+
res = documenso.documents.find(order_by_direction=documenso_sdk.OrderByDirection.DESC)
345
347
346
348
# Handle response
347
349
print(res)
@@ -375,6 +377,7 @@ When custom error responses are specified for an operation, the SDK may also rai
375
377
### Example
376
378
377
379
```python
380
+
import documenso_sdk
378
381
from documenso_sdk import Documenso, models
379
382
import os
380
383
@@ -385,7 +388,7 @@ with Documenso(
385
388
res =None
386
389
try:
387
390
388
-
res = documenso.documents.find()
391
+
res = documenso.documents.find(order_by_direction=documenso_sdk.OrderByDirection.DESC)
389
392
390
393
# Handle response
391
394
print(res)
@@ -412,6 +415,7 @@ with Documenso(
412
415
413
416
The default server can be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
414
417
```python
418
+
import documenso_sdk
415
419
from documenso_sdk import Documenso
416
420
import os
417
421
@@ -421,7 +425,7 @@ with Documenso(
421
425
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
422
426
) as documenso:
423
427
424
-
res = documenso.documents.find()
428
+
res = documenso.documents.find(order_by_direction=documenso_sdk.OrderByDirection.DESC)
0 commit comments