Compare commits
No commits in common. "e6bbd01ea9160a67c7e59b95e2c8ff5962af441e" and "7fae1a18b61e373835879a889f38f07e99e1310a" have entirely different histories.
e6bbd01ea9
...
7fae1a18b6
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ from pydantic import BaseModel, Field
|
||||||
|
|
||||||
|
|
||||||
class Secret(BaseModel):
|
class Secret(BaseModel):
|
||||||
data: str = Field(title="Secret", description="Some secret data", min_length=1)
|
data: str = Field(title="Secret", description="Some secret data")
|
||||||
|
|
||||||
|
|
||||||
class SecretSaveResult(BaseModel):
|
class SecretSaveResult(BaseModel):
|
||||||
|
|
|
@ -3,7 +3,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||||
|
|
||||||
|
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
model_config = SettingsConfigDict(env_file=".env")
|
||||||
|
|
||||||
redis_url: RedisDsn = RedisDsn("redis://localhost")
|
redis_url: RedisDsn = RedisDsn("redis://localhost")
|
||||||
secrets_encryption_key: bytes
|
secrets_encryption_key: bytes
|
||||||
|
|
Loading…
Reference in a new issue