This looks similar to How can kwargs be used in multiple dispatch. In short, multiple dispatch does not apply to keyword arguments (“kwargs”), but you can maybe work around it.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Unexpected problem with previously working code - multiple dispatch seems to be failing | 5 | 267 | August 27, 2024 | |
| Different dispatch for positional/keyword arguments | 5 | 751 | May 28, 2020 | |
| Multiple dispatch usage with named arguments | 4 | 2309 | October 9, 2019 | |
| How can kwargs be used in multiple dispatch | 11 | 1699 | September 5, 2022 | |
| 2 functions, same name, one with scalar and one with list arguments | 4 | 2134 | December 7, 2016 |