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.

couchbase_config.py 742B

123456789101112131415161718192021222324252627282930313233
  1. from pydantic import Field
  2. from pydantic_settings import BaseSettings
  3. class CouchbaseConfig(BaseSettings):
  4. """
  5. Couchbase configs
  6. """
  7. COUCHBASE_CONNECTION_STRING: str | None = Field(
  8. description="COUCHBASE connection string",
  9. default=None,
  10. )
  11. COUCHBASE_USER: str | None = Field(
  12. description="COUCHBASE user",
  13. default=None,
  14. )
  15. COUCHBASE_PASSWORD: str | None = Field(
  16. description="COUCHBASE password",
  17. default=None,
  18. )
  19. COUCHBASE_BUCKET_NAME: str | None = Field(
  20. description="COUCHBASE bucket name",
  21. default=None,
  22. )
  23. COUCHBASE_SCOPE_NAME: str | None = Field(
  24. description="COUCHBASE scope name",
  25. default=None,
  26. )