chore: use singular style in config class name (#5489)
This commit is contained in:
parent
9a5c423d59
commit
8890978ad3
11 changed files with 82 additions and 82 deletions
|
|
@ -1,12 +1,12 @@
|
|||
from pydantic import BaseModel
|
||||
|
||||
from configs.extra.notion_configs import NotionConfigs
|
||||
from configs.extra.sentry_configs import SentryConfigs
|
||||
from configs.extra.notion_config import NotionConfig
|
||||
from configs.extra.sentry_config import SentryConfig
|
||||
|
||||
|
||||
class ExtraServiceConfigs(
|
||||
class ExtraServiceConfig(
|
||||
# place the configs in alphabet order
|
||||
NotionConfigs,
|
||||
SentryConfigs,
|
||||
NotionConfig,
|
||||
SentryConfig,
|
||||
):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from typing import Optional
|
|||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class NotionConfigs(BaseModel):
|
||||
class NotionConfig(BaseModel):
|
||||
"""
|
||||
Notion integration configs
|
||||
"""
|
||||
|
|
@ -3,7 +3,7 @@ from typing import Optional
|
|||
from pydantic import BaseModel, Field, NonNegativeFloat
|
||||
|
||||
|
||||
class SentryConfigs(BaseModel):
|
||||
class SentryConfig(BaseModel):
|
||||
"""
|
||||
Sentry configs
|
||||
"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue