Skip to content

Commit

Permalink
fix: update code to surrealdb2
Browse files Browse the repository at this point in the history
  • Loading branch information
TudorAndrei-Pythia committed Nov 9, 2023
1 parent 0c28290 commit 1b3e1d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/sirqle/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from urllib.parse import urlparse

from dotenv import dotenv_values
from surrealdb.http import SurrealHTTP
from surrealdb.ws import Surreal
from surrealdb2.http import SurrealHTTP
from surrealdb2.ws import Surreal

PARAMS = ["URL", "NAMESPACE", "USERNAME", "PASSWORD", "DATABASE"]

Expand Down
4 changes: 2 additions & 2 deletions src/sirqle/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from typing import List, Tuple
from warnings import warn

from surrealdb.http import SurrealHTTP
from surrealdb.ws import ConnectionState, Surreal
from surrealdb2.http import SurrealHTTP
from surrealdb2.ws import ConnectionState, Surreal

from sirqle.config import Config

Expand Down

0 comments on commit 1b3e1d1

Please sign in to comment.