Skip to content

Commit ca8b958

Browse files
committed
change 3.13t, v2
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent 733c288 commit ca8b958

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/code-quality-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
# run test suite
6262
#----------------------------------------------
6363
- name: Run tests
64-
run: poetry run python -m pytest tests/unit
64+
run: poetry run python -m pytest tests/unit
6565
run-unit-tests-with-arrow:
6666
runs-on: ubuntu-latest
6767
strategy:
@@ -75,7 +75,7 @@ jobs:
7575
uses: actions/checkout@v2
7676
- name: Set up python ${{ matrix.python-version }}
7777
id: setup-python
78-
uses: actions/setup-python@v5
78+
uses: actions/setup-python@v2
7979
with:
8080
python-version: ${{ matrix.python-version }}
8181
#----------------------------------------------
@@ -117,7 +117,7 @@ jobs:
117117
runs-on: ubuntu-latest
118118
strategy:
119119
matrix:
120-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13t"]
120+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
121121
steps:
122122
#----------------------------------------------
123123
# check-out repo and set-up python

src/databricks/sql/telemetry/telemetry_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ def close_telemetry_client(session_id_hex):
399399
global _initialized, _executor
400400
with _lock:
401401
# if (telemetry_client := _clients.pop(session_id_hex, None)) is not None:
402-
telemetry_client = _clients.pop(session_id_hex, None)
403-
if telemetry_client is not None:
402+
if session_id_hex in _clients:
403+
telemetry_client = _clients.pop(session_id_hex)
404404
logger.debug("Removing telemetry client for connection %s", session_id_hex)
405405
telemetry_client.close()
406406

0 commit comments

Comments
 (0)