mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-01 06:37:51 +08:00

Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: huanshare <liuhuan101@longfor.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
26 lines
655 B
Python
26 lines
655 B
Python
from typing import Optional
|
|
|
|
from pydantic import Field
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class SupabaseStorageConfig(BaseSettings):
|
|
"""
|
|
Configuration settings for Supabase Object Storage Service
|
|
"""
|
|
|
|
SUPABASE_BUCKET_NAME: Optional[str] = Field(
|
|
description="Name of the Supabase bucket to store and retrieve objects (e.g., 'dify-bucket')",
|
|
default=None,
|
|
)
|
|
|
|
SUPABASE_API_KEY: Optional[str] = Field(
|
|
description="API KEY for authenticating with Supabase",
|
|
default=None,
|
|
)
|
|
|
|
SUPABASE_URL: Optional[str] = Field(
|
|
description="URL of the Supabase",
|
|
default=None,
|
|
)
|