cv_quality / get_supabase.py
Nassiraaa's picture
Update get_supabase.py
862275a verified
raw
history blame contribute delete
469 Bytes
import os
from supabase import create_client,Client
from dotenv import load_dotenv
class Supabase :
def __init__(self):
pass
def init_supabase_client(self):
load_dotenv()
try:
client :Client = create_client(os.getenv("SUPABASE_URL"),os.getenv("SUPABASE_KEY"))
return client
except Exception as e :
print(f"Error initializing Supabase client: {e}")
return None