Commit 0091992
committed
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 70ba852 commit 0091992
File tree
2 files changed
+18
-33
lines changed- src/google/adk/cli
- tests/unittests/cli
2 files changed
+18
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
147 | 136 | | |
148 | 137 | | |
149 | 138 | | |
| |||
582 | 571 | | |
583 | 572 | | |
584 | 573 | | |
| 574 | + | |
| 575 | + | |
585 | 576 | | |
586 | 577 | | |
587 | 578 | | |
| |||
609 | 600 | | |
610 | 601 | | |
611 | 602 | | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | 603 | | |
619 | 604 | | |
620 | 605 | | |
621 | | - | |
| 606 | + | |
622 | 607 | | |
623 | 608 | | |
624 | 609 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1557 | 1557 | | |
1558 | 1558 | | |
1559 | 1559 | | |
1560 | | - | |
| 1560 | + | |
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
| |||
1590 | 1590 | | |
1591 | 1591 | | |
1592 | 1592 | | |
1593 | | - | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
1594 | 1596 | | |
1595 | 1597 | | |
1596 | 1598 | | |
| |||
1608 | 1610 | | |
1609 | 1611 | | |
1610 | 1612 | | |
1611 | | - | |
| 1613 | + | |
1612 | 1614 | | |
1613 | 1615 | | |
1614 | 1616 | | |
| |||
1618 | 1620 | | |
1619 | 1621 | | |
1620 | 1622 | | |
1621 | | - | |
| 1623 | + | |
1622 | 1624 | | |
1623 | 1625 | | |
1624 | 1626 | | |
| |||
1655 | 1657 | | |
1656 | 1658 | | |
1657 | 1659 | | |
1658 | | - | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
1659 | 1663 | | |
1660 | 1664 | | |
1661 | 1665 | | |
| |||
1671 | 1675 | | |
1672 | 1676 | | |
1673 | 1677 | | |
1674 | | - | |
1675 | 1678 | | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
| 1679 | + | |
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
| |||
0 commit comments