Skip to content

Fixes for version 0.0.22

Choose a tag to compare

@toshetah toshetah released this 10 Feb 15:15
· 400 commits to master since this release
6db20a4

BREAKING CHANGES:

  • Change the default conversion from dynamic string.empty into dynamic null.
from azure.kusto.data.request import KustoClient, KustoConnectionStringBuilder
from azure.kusto.data.exceptions import KustoServiceError
from azure.kusto.data.helpers import dataframe_from_result_table

cluster = "https://help.kusto.windows.net:443"

kcsb = KustoConnectionStringBuilder.with_aad_device_authentication(cluster)
client = KustoClient(kcsb)
db = "Samples"

query = """print empty_dynamic = dynamic("")"""
response = client.execute(db, query)
empty = response.primary_results[0][0]["empty_dynamic"]

In the old version, the empty variable will have None type.
From version 0.0.23 and on the empty variable will have "" value.

FEATURES:

None.

FIXES:

  • Fixed json.loads exception in python 3.5 - Decode the urllib pool manager response with UTF-8, so we can load it into json in python 3.5 .
  • Handling dynamic values which are not dicts/arrays- Removed unneeded json.loads call for dynamic objects. It's been loaded once after we got the response.