mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-13 07:14:54 +03:00
ee864e6441
Added tests for: - Prompt - Misc - Onboarding
16 lines
410 B
Python
16 lines
410 B
Python
from uuid import UUID
|
|
|
|
from models.databases.supabase.onboarding import (
|
|
OnboardingStates,
|
|
)
|
|
from models.settings import get_supabase_db
|
|
|
|
|
|
def create_user_onboarding(user_id: UUID) -> OnboardingStates:
|
|
"""Update user onboarding information by user_id"""
|
|
|
|
supabase_db = get_supabase_db()
|
|
created_user_onboarding = supabase_db.create_user_onboarding(user_id)
|
|
|
|
return created_user_onboarding
|