KCSB alignment #762
65 errors, 102 fail, 26 skipped, 119 pass in 1m 5s
Annotations
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_throws_on_close (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9cf40>
@aio_documented_by(KustoClientTestsSync.test_throws_on_close)
@pytest.mark.asyncio
async def test_throws_on_close(self):
"""Test query V2."""
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_sanity_query (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9ca90>
@aio_documented_by(KustoClientTestsSync.test_sanity_query)
@pytest.mark.asyncio
async def test_sanity_query(self):
with aioresponses() as aioresponses_mock:
self._mock_query(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_raise_network (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9ca00>
@pytest.mark.asyncio
async def test_raise_network(self):
with aioresponses() as aioresponses_mock:
self._mock_query(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_sanity_control_command (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9cee0>
@aio_documented_by(KustoClientTestsSync.test_sanity_control_command)
@pytest.mark.asyncio
async def test_sanity_control_command(self):
with aioresponses() as aioresponses_mock:
self._mock_mgmt(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_sanity_data_frame (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9dab0>
@pytest.mark.skipif(not PANDAS, reason="requires pandas")
@aio_documented_by(KustoClientTestsSync.test_sanity_data_frame)
@pytest.mark.asyncio
async def test_sanity_data_frame(self):
with aioresponses() as aioresponses_mock:
self._mock_query(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_partial_results (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9cc40>
@aio_documented_by(KustoClientTestsSync.test_partial_results)
@pytest.mark.asyncio
async def test_partial_results(self):
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:108:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_admin_then_query (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9c610>
@aio_documented_by(KustoClientTestsSync.test_admin_then_query)
@pytest.mark.asyncio
async def test_admin_then_query(self):
with aioresponses() as aioresponses_mock:
self._mock_mgmt(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_dynamic (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9c340>
@aio_documented_by(KustoClientTestsSync.test_dynamic)
@pytest.mark.asyncio
async def test_dynamic(self):
with aioresponses() as aioresponses_mock:
self._mock_query(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:141:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_empty_result (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9c130>
@aio_documented_by(KustoClientTestsSync.test_empty_result)
@pytest.mark.asyncio
async def test_empty_result(self):
with aioresponses() as aioresponses_mock:
self._mock_query(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:153:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_null_values_in_data (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9e290>
@aio_documented_by(KustoClientTestsSync.test_null_values_in_data)
@pytest.mark.asyncio
async def test_null_values_in_data(self):
with aioresponses() as aioresponses_mock:
self._mock_query(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs failed: test_request_id (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
self = <tests.aio.test_kusto_client.TestKustoClient object at 0x7f3e2be9df00>
@aio_documented_by(KustoClientTestsSync.test_sanity_query)
@pytest.mark.asyncio
async def test_request_id(self):
with aioresponses() as aioresponses_mock:
properties = ClientRequestProperties()
request_id = "test_request_id"
properties.client_request_id = request_id
self._mock_query(aioresponses_mock)
> async with KustoClient(self.HOST) as client:
azure-kusto-data/tests/aio/test_kusto_client.py:176:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/aio/client.py:30: in __init__
super().__init__(kcsb, True)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/client_base.py:42: in __init__
self._kcsb = KustoConnectionStringBuilder(kcsb)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[user_password] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[user_password]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[application_key] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[application_key]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[application_token] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[application_token]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[device] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[device]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[user_token] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[user_token]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[managed_identity] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[managed_identity]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[token_provider] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[token_provider]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[async_token_provider] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[async_token_provider]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[az_cli] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[az_cli]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check failure on line 0 in azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient
github-actions / Test Results
All 5 runs with error: test_proxy_token_providers[interactive_login] (azure-kusto-data.tests.aio.test_kusto_client.TestKustoClient)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
failed on setup with "AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?"
request = <SubRequest 'proxy_kcsb' for <Coroutine test_proxy_token_providers[interactive_login]>>
@pytest.fixture(
params=[
"user_password",
"application_key",
"application_token",
"device",
"user_token",
"managed_identity",
"token_provider",
"async_token_provider",
"az_cli",
"interactive_login",
]
)
def proxy_kcsb(request) -> Tuple[KustoConnectionStringBuilder, bool]:
cluster = KustoClientTestsMixin.HOST
user = "test2"
password = "Pa$$w0rd2"
authority_id = "13456"
uuid = "11111111-1111-1111-1111-111111111111"
key = "key of application"
token = "The app hardest token ever"
return {
> "user_password": (KustoConnectionStringBuilder.with_aad_user_password_authentication(cluster, user, password, authority_id), True),
"application_key": (KustoConnectionStringBuilder.with_aad_application_key_authentication(cluster, uuid, key, "microsoft.com"), True),
"application_token": (KustoConnectionStringBuilder.with_aad_application_token_authentication(cluster, application_token=token), False),
"device": (KustoConnectionStringBuilder.with_aad_device_authentication(cluster), True),
"user_token": (KustoConnectionStringBuilder.with_aad_user_token_authentication(cluster, user_token=token), False),
"managed_identity": (KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster), False),
"token_provider": (KustoConnectionStringBuilder.with_token_provider(cluster, lambda x: x), False),
"async_token_provider": (KustoConnectionStringBuilder.with_async_token_provider(cluster, lambda x: x), False),
"az_cli": (KustoConnectionStringBuilder.with_az_cli_authentication(cluster), True),
"interactive_login": (KustoConnectionStringBuilder.with_interactive_login(cluster), True),
}[request.param]
azure-kusto-data/tests/kusto_client_common.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:213: in with_aad_user_password_authentication
kcsb = cls(connection_string)
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.test_client_request_properties
github-actions / Test Results
All 5 runs failed: test_default_tracing_properties (azure-kusto-data.tests.test_client_request_properties)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
def test_default_tracing_properties():
> kcsb = KustoConnectionStringBuilder("test")
azure-kusto-data/tests/test_client_request_properties.py:39:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.test_client_request_properties
github-actions / Test Results
All 5 runs failed: test_custom_kcsb_tracing_properties (azure-kusto-data.tests.test_client_request_properties)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
def test_custom_kcsb_tracing_properties():
> kcsb = KustoConnectionStringBuilder("test")
azure-kusto-data/tests/test_client_request_properties.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.test_client_request_properties
github-actions / Test Results
All 5 runs failed: test_custom_crp_tracing_properties (azure-kusto-data.tests.test_client_request_properties)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
def test_custom_crp_tracing_properties():
> kcsb = KustoConnectionStringBuilder("test")
azure-kusto-data/tests/test_client_request_properties.py:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError
Check warning on line 0 in azure-kusto-data.tests.test_client_request_properties
github-actions / Test Results
All 5 runs failed: test_custom_crp_tracing_properties_override_kcsb (azure-kusto-data.tests.test_client_request_properties)
artifacts/Unit Test Results (Python 3.10)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.11)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.12)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.8)/pytest.xml [took 0s]
artifacts/Unit Test Results (Python 3.9)/pytest.xml [took 0s]
Raw output
AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
def test_custom_crp_tracing_properties_override_kcsb():
> kcsb = KustoConnectionStringBuilder("test")
azure-kusto-data/tests/test_client_request_properties.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:155: in __init__
self[ValidKeywords.AUTHORITY_ID] = "organizations"
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:184: in __setitem__
keyword = Keyword.parse(key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'azure.kusto.data.kcsb.Keyword'>, key = 'Authority Id'
@classmethod
def parse(cls, key: Union[str, ValidKeywords]) -> "Keyword":
if isinstance(key, ValidKeywords):
key = key.value
normalized = Keyword.normalize_string(key)
> if normalized not in cls._lookup:
E AttributeError: type object 'Keyword' has no attribute '_lookup'. Did you mean: 'lookup'?
../../../.local/lib/python3.10/site-packages/azure/kusto/data/kcsb.py:96: AttributeError