Commit ede83e6
committed
httpserver: replace **kwargs with named parameters
Restore API compatibility for the parameters specified by position, and also
remove the `**kwargs` from the constructors and replace it with the real
parameters to make the documentation better (and to also help IDE
integration). Update documentation.1 parent b59c63a commit ede83e6
2 files changed
Lines changed: 40 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | | - | |
47 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
48 | 66 | | |
49 | 67 | | |
50 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | 593 | | |
597 | 594 | | |
598 | | - | |
599 | | - | |
| 595 | + | |
| 596 | + | |
600 | 597 | | |
601 | 598 | | |
602 | 599 | | |
| |||
845 | 842 | | |
846 | 843 | | |
847 | 844 | | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
848 | 849 | | |
849 | 850 | | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
850 | 857 | | |
851 | 858 | | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
852 | 862 | | |
853 | 863 | | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
854 | 867 | | |
855 | | - | |
856 | 868 | | |
857 | 869 | | |
858 | 870 | | |
859 | 871 | | |
860 | | - | |
| 872 | + | |
861 | 873 | | |
862 | 874 | | |
863 | 875 | | |
| |||
0 commit comments