chore: use singular style in config class name (#5489)

This commit is contained in:
Bowen Liang 2024-06-22 09:54:25 +08:00 • committed by GitHub
commit 8890978ad3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 82 additions and 82 deletions

View file

@ -1,33 +0,0 @@
from typing import Optional
from pydantic import BaseModel, Field
class NotionConfigs(BaseModel):
"""
Notion integration configs
"""
NOTION_CLIENT_ID: Optional[str] = Field(
description='Notion client ID',
default=None,
)
NOTION_CLIENT_SECRET: Optional[str] = Field(
description='Notion client secret key',
default=None,
)
NOTION_INTEGRATION_TYPE: Optional[str] = Field(
description='Notion integration type, default to None, available values: internal.',
default=None,
)
NOTION_INTERNAL_SECRET: Optional[str] = Field(
description='Notion internal secret key',
default=None,
)
NOTION_INTEGRATION_TOKEN: Optional[str] = Field(
description='Notion integration token',
default=None,
)