Commit 468bb22
fixup: code style and convention alignment
- hoist a2a_push_config_store init outside per-agent loop, matching
the task_store pattern (both now use if-None guard at the top)
- remove redundant local push_config_store variable; use
a2a_push_config_store directly in DefaultRequestHandler call
- trim docstring: drop inline Example block, shorten to match the
one-liner style used by the other params in the same function
- rename test to test_a2a_custom_task_store_is_used (shorter, matches
existing naming style)
- fix test mock setup to use an explicit mock_a2a_app_instance like
the test_app_with_a2a fixture does
- simplify test assertion: drop intermediate call_kwargs variable1 parent 004318a commit 468bb22
2 files changed
Lines changed: 18 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
150 | 139 | | |
151 | 140 | | |
152 | 141 | | |
| |||
619 | 608 | | |
620 | 609 | | |
621 | 610 | | |
| 611 | + | |
| 612 | + | |
622 | 613 | | |
623 | 614 | | |
624 | 615 | | |
| |||
646 | 637 | | |
647 | 638 | | |
648 | 639 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | 640 | | |
656 | 641 | | |
657 | 642 | | |
658 | | - | |
| 643 | + | |
659 | 644 | | |
660 | 645 | | |
661 | 646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1876 | 1876 | | |
1877 | 1877 | | |
1878 | 1878 | | |
1879 | | - | |
| 1879 | + | |
1880 | 1880 | | |
1881 | 1881 | | |
1882 | 1882 | | |
| |||
1909 | 1909 | | |
1910 | 1910 | | |
1911 | 1911 | | |
1912 | | - | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
1913 | 1915 | | |
1914 | 1916 | | |
1915 | 1917 | | |
| |||
1927 | 1929 | | |
1928 | 1930 | | |
1929 | 1931 | | |
1930 | | - | |
| 1932 | + | |
1931 | 1933 | | |
1932 | 1934 | | |
1933 | 1935 | | |
| |||
1937 | 1939 | | |
1938 | 1940 | | |
1939 | 1941 | | |
1940 | | - | |
| 1942 | + | |
1941 | 1943 | | |
1942 | 1944 | | |
1943 | 1945 | | |
| |||
1974 | 1976 | | |
1975 | 1977 | | |
1976 | 1978 | | |
1977 | | - | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
1978 | 1982 | | |
1979 | 1983 | | |
1980 | 1984 | | |
| |||
1990 | 1994 | | |
1991 | 1995 | | |
1992 | 1996 | | |
1993 | | - | |
1994 | 1997 | | |
1995 | | - | |
1996 | | - | |
1997 | | - | |
1998 | | - | |
| 1998 | + | |
1999 | 1999 | | |
2000 | 2000 | | |
2001 | 2001 | | |
| |||
0 commit comments