This due to both FlaskClient and LocalServerClient requiring these arguments.
If another custom Client subclass is implemented, it is possible that the instantiation above fails because Client.__init__() only requires the sinks argument.
Solution
change signature to __init__(self, *, configuration, sinks)
In the
clients.create()
function, sinks and configuration are passed to construct a Client instance: https://github.com/pylipp/financeager/blob/f4f9675703ac93b4a7f00503582e044b6d0602f5/financeager/clients.py#L31This due to both
FlaskClient
andLocalServerClient
requiring these arguments. If another custom Client subclass is implemented, it is possible that the instantiation above fails becauseClient.__init__()
only requires thesinks
argument.Solution
__init__(self, *, configuration, sinks)