Fix trusted-endpoint validation for all authentication methods #696
Annotations
10 errors and 11 warnings
|
Run Type Checking (Optional to passing):
azure-kusto-ingest/tests/test_e2e_ingest.py#L316
Argument of type "str | None" cannot be assigned to parameter "database" of type "str" in function "__init__"
Type "str | None" is not assignable to type "str"
"None" is not assignable to "str" (reportArgumentType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-ingest/tests/test_e2e_ingest.py#L290
Argument of type "str | None" cannot be assigned to parameter "database" of type "str" in function "__init__"
Type "str | None" is not assignable to type "str"
"None" is not assignable to "str" (reportArgumentType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-ingest/tests/test_e2e_ingest.py#L268
Argument of type "str | None" cannot be assigned to parameter "database" of type "str" in function "__init__"
Type "str | None" is not assignable to type "str"
"None" is not assignable to "str" (reportArgumentType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/tests/test_helpers.py#L166
Invalid conditional operand of type "DataFrame | Series | NDArray[bool_]"
Method __bool__ for type "DataFrame" returns type "NoReturn" rather than "bool"
Method __bool__ for type "Series" returns type "NoReturn" rather than "bool" (reportGeneralTypeIssues)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/tests/test_helpers.py#L165
Invalid conditional operand of type "DataFrame | Series | NDArray[bool_]"
Method __bool__ for type "DataFrame" returns type "NoReturn" rather than "bool"
Method __bool__ for type "Series" returns type "NoReturn" rather than "bool" (reportGeneralTypeIssues)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/exceptions.py#L124
Variable not allowed in type expression (reportInvalidTypeForm)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/exceptions.py#L124
Expected type arguments for generic class "dict" (reportMissingTypeArgument)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/client_base.py#L91
Argument of type "Session | None" cannot be assigned to parameter "session" of type "Session"
Type "Session | None" is not assignable to type "Session"
"None" is not assignable to "Session" (reportArgumentType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/client_base.py#L89
Argument of type "str | Unknown | None" cannot be assigned to parameter "kusto_uri" of type "str"
Type "str | Unknown | None" is not assignable to type "str"
"None" is not assignable to "str" (reportArgumentType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/client_base.py#L86
Argument of type "str | Unknown | None" cannot be assigned to parameter "endpoint" of type "str" in function "validate_trusted_endpoint"
Type "str | Unknown | None" is not assignable to type "str"
"None" is not assignable to "str" (reportArgumentType)
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/upload-artifact@v4, astral-sh/setup-uv@v6, azure/login@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/kusto_trusted_endpoints.py#L2
This type is deprecated as of Python 3.9; use "dict" instead (reportDeprecated)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/kusto_trusted_endpoints.py#L2
This type is deprecated as of Python 3.9; use "list" instead (reportDeprecated)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/helpers.py#L125
Argument type is unknown
Argument corresponds to parameter "arg" in function "to_datetime" (reportUnknownArgumentType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/exceptions.py#L128
Argument type is partially unknown
Argument corresponds to parameter "kusto_response" in function "__init__"
Argument type is "Unknown | None" (reportUnknownArgumentType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/exceptions.py#L124
Type annotation is missing for parameter "kusto_response" (reportMissingParameterType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/exceptions.py#L124
Type of parameter "kusto_response" is partially unknown
Parameter type is "Unknown | None" (reportUnknownParameterType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/exceptions.py#L124
Type of parameter "http_response" is partially unknown
Parameter type is "Response | Unknown | None" (reportUnknownParameterType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/exceptions.py#L124
Type of parameter "error_dict" is partially unknown
Parameter type is "dict[Unknown, Unknown]" (reportUnknownParameterType)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/client_base.py#L98
Condition will always evaluate to True since the types "_AadHelper" and "None" have no overlap (reportUnnecessaryComparison)
|
|
Run Type Checking (Optional to passing):
azure-kusto-data/azure/kusto/data/client_base.py#L90
Argument type is unknown
Argument corresponds to parameter "proxies" (reportUnknownArgumentType)
|
background
wait
wait-all
cancel
parallel
Loading