Commit d29acf6
committed
refactor: Remove state_type from udwf method signature and update return type handling
- Eliminated the state_type parameter from the udwf method to simplify the function signature.
- Updated return type handling in the _function and _decorator methods to use a generic type _R for better type flexibility.
- Enhanced the decorator to wrap the original function, allowing for improved argument handling and expression return.1 parent 1164374 commit d29acf6
1 file changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
631 | 632 | | |
632 | 633 | | |
633 | 634 | | |
634 | | - | |
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
646 | 645 | | |
647 | 646 | | |
648 | 647 | | |
| |||
700 | 699 | | |
701 | 700 | | |
702 | 701 | | |
703 | | - | |
| 702 | + | |
704 | 703 | | |
705 | 704 | | |
706 | 705 | | |
| |||
727 | 726 | | |
728 | 727 | | |
729 | 728 | | |
730 | | - | |
| 729 | + | |
731 | 730 | | |
732 | 731 | | |
733 | | - | |
734 | | - | |
735 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
736 | 743 | | |
737 | 744 | | |
738 | 745 | | |
| |||
0 commit comments