
Keyword-only parameters in a Python function can have a default:
def myfunc(*, a, b=10):
return f'{a=}, {b=}'
Now call it:
myfunc(a=5) # use the default
myfunc(a=5, b=6) # override the default
Remember: parameters with defaults come *after* those without.
