Commit 57416a7
Add python-dotenv dependency and refine retry/pending logic
- Add python-dotenv to both PDM and uv dev dependencies so
tests/client_test.py can run standalone without ModuleNotFoundError
- Fix pre-commit default Python version from python3.9 to python3
- Refine structure_file pending detection: only set pending=True on
2xx responses (POST 422 indicates setup errors, not queued work)
- Fix trailing newlines in utils.py and sample.env
- Update tests to match new 422 pending behavior and fix docstring
formatting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e61dc7a commit 57416a7
File tree
7 files changed
+65
-23
lines changed- src/unstract/api_deployments
- tests
7 files changed
+65
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
369 | 373 | | |
370 | 374 | | |
371 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| |||
476 | 478 | | |
477 | 479 | | |
478 | 480 | | |
479 | | - | |
| 481 | + | |
| 482 | + | |
480 | 483 | | |
481 | 484 | | |
482 | 485 | | |
| |||
591 | 594 | | |
592 | 595 | | |
593 | 596 | | |
594 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
595 | 600 | | |
596 | 601 | | |
597 | | - | |
| 602 | + | |
598 | 603 | | |
599 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
600 | 611 | | |
601 | 612 | | |
602 | 613 | | |
| |||
618 | 629 | | |
619 | 630 | | |
620 | 631 | | |
621 | | - | |
622 | | - | |
| 632 | + | |
623 | 633 | | |
624 | 634 | | |
625 | 635 | | |
626 | | - | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
627 | 642 | | |
628 | 643 | | |
629 | 644 | | |
| |||
645 | 660 | | |
646 | 661 | | |
647 | 662 | | |
648 | | - | |
| 663 | + | |
649 | 664 | | |
650 | 665 | | |
651 | 666 | | |
652 | | - | |
653 | | - | |
| 667 | + | |
| 668 | + | |
654 | 669 | | |
655 | 670 | | |
656 | 671 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments