Source code for deploydb.model

from pydantic import BaseModel
from typing import Optional


[docs]class DbCreds(BaseModel): driver: str server: str user: str passw: str default_db: str
[docs]class Config(BaseModel): local_path: str https_url: Optional[str] = None ssh_url: Optional[str] = None target_branch: str db_creds: DbCreds