load_exchange - force kwargs for non-required arguments

This commit is contained in:
Matthias
2023-05-13 13:43:53 +02:00
parent 0ea47118e1
commit fffb056ad3

View File

@@ -19,7 +19,7 @@ class ExchangeResolver(IResolver):
object_type = Exchange
@staticmethod
def load_exchange(config: Config, validate: bool = True,
def load_exchange(config: Config, *, validate: bool = True,
load_leverage_tiers: bool = False) -> Exchange:
"""
Load the custom class from config parameter