Skip to content

Commit 58604a1

Browse files
committedMar 3, 2025
updating tests
1 parent 3476b1f commit 58604a1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2222
# surrealdb-version: ["v2.1.0", "v2.1.1", "v2.1.2", "v2.1.3", "v2.1.4"] # v2.0.0 has different UPSERT behaviour
23-
surrealdb-version: ["v2.1.1", "v2.1.2", "v2.1.3", "v2.1.4"] # v2.0.0 has different UPSERT behaviour
23+
surrealdb-version: ["v2.1.1", "v2.1.2", "v2.1.3", "v2.1.4"] # v2.0.0 has different UPSERT behaviour and v2.1.0 does not support async batching
2424
name: Python ${{ matrix.python-version }} - SurrealDB ${{ matrix.surrealdb-version }}
2525
steps:
2626
- name: Checkout repository

‎src/surrealdb/connections/async_ws.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
"""
22
A basic async connection to a SurrealDB instance.
33
"""
4-
54
import asyncio
6-
import uuid
75
from asyncio import Queue, Task, Future, AbstractEventLoop
8-
from typing import Optional, Any, Dict, Union, List, AsyncGenerator
6+
from typing import Optional, Any, Dict, Union, List
97
from uuid import UUID
108

119
import websockets

0 commit comments

Comments
 (0)