This is a nitpick/opinion, but IMO parameters that are meant to be optional kwargs should always be used as kwargs. It helps in case you ever modify the parameter order.