This commit is contained in:
jopejoe1 2024-01-24 16:14:43 +01:00
parent 30093eb03d
commit cb1cf6f6cf
3 changed files with 12 additions and 10 deletions

View file

@ -1,9 +1,10 @@
#!/usr/bin/env python3
import os
from surrealdb import Surreal
from dotenv import load_dotenv
from surrealdb import Surreal
load_dotenv()
db = Surreal(f"ws://{os.environ.get('DB_HOST')}:{os.environ.get('DB_PORT')}/rpc")
# TODO: "SQL"-Prompts
# TODO: "SQL"-Prompts