You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

supabase_storage_config.py 617B

1234567891011121314151617181920212223
  1. from pydantic import Field
  2. from pydantic_settings import BaseSettings
  3. class SupabaseStorageConfig(BaseSettings):
  4. """
  5. Configuration settings for Supabase Object Storage Service
  6. """
  7. SUPABASE_BUCKET_NAME: str | None = Field(
  8. description="Name of the Supabase bucket to store and retrieve objects (e.g., 'dify-bucket')",
  9. default=None,
  10. )
  11. SUPABASE_API_KEY: str | None = Field(
  12. description="API KEY for authenticating with Supabase",
  13. default=None,
  14. )
  15. SUPABASE_URL: str | None = Field(
  16. description="URL of the Supabase",
  17. default=None,
  18. )