You could do something like f(**{x, y, z}) with just that. Not the prettiest, but at least it would be DRY.
But in general Python devs seem to prefer "explicit" ad-hoc syntax for each use case instead of composable "primitives". Which is approaching a kind of C++ situation where relatively few users know the syntax comprehensively.
def f(x, , y): ...
f(foo, , y)
I hope you don't consider JS having "composable primitives". To backup my point: there is no anything similar to underscore-like libraries for Python. All is covered by stdlib and syntax.
> for(in) / for(of)
Cough, cough.
JS has many many warts, and the for-loop is a good example of this. And the _.each is a good example how the core JS allows for working around it.
fn(x=,y=,z=)
https://peps.python.org/pep-0736/edit: nevermind, that PEP was rejected :/