Azure / pykusto

Query Kusto like a pro from the comfort of your Jupyter notebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retry config causes an exception beacuse of bug in argumets order in client execute function

ofrikleinfeld opened this issue · comments

In _src.client.py the function execute is defined as follows:
def execute(self, query: KQL, retry_config: RetryConfig = None) -> KustoResponse: return self.__database.execute(query, retry_config)

but the database.execute function receives three arguments, without explicitly naming the argument as retry_config, it is used as the properties argument.

def execute(self, query: KQL, properties: ClientRequestProperties = None, retry_config: RetryConfig = None) -> KustoResponse: return self.__client.execute(self.__name, query, properties, retry_config)