Bot schema

TCKDB backend app schemas bot module

class tckdb.backend.app.schemas.bot.Bot(*, name: str, version: str = None, url: int, git_commit: str = None, git_branch: str = None, reviewer_flags: Dict[str, str] = None, id: int)[source]

Properties to return to client

class tckdb.backend.app.schemas.bot.BotBase(*, name: tckdb.backend.app.schemas.bot.ConstrainedStrValue, version: tckdb.backend.app.schemas.bot.ConstrainedStrValue = None, url: tckdb.backend.app.schemas.bot.ConstrainedStrValue, git_commit: tckdb.backend.app.schemas.bot.ConstrainedStrValue = None, git_branch: tckdb.backend.app.schemas.bot.ConstrainedStrValue = None, reviewer_flags: Dict[str, str] = None)[source]

A BotBase class (shared properties)

classmethod check_reviewer_flags(value)[source]

Bot.reviewer_flags validator

classmethod validate_git_commit(value)[source]

Bot.git_commit validator

classmethod validate_url(value)[source]

Bot.url validator

class tckdb.backend.app.schemas.bot.BotCreate(*, name: str, version: str = None, url: str, git_commit: str = None, git_branch: str = None, reviewer_flags: Dict[str, str] = None)[source]

Create a Bot item: Properties to receive on item creation

class tckdb.backend.app.schemas.bot.BotInDB(*, name: str, version: str = None, url: int, git_commit: str = None, git_branch: str = None, reviewer_flags: Dict[str, str] = None, id: int)[source]

Properties stored in DB

class tckdb.backend.app.schemas.bot.BotInDBBase(*, name: str, version: str = None, url: int, git_commit: str = None, git_branch: str = None, reviewer_flags: Dict[str, str] = None, id: int)[source]

Properties shared by models stored in DB

class tckdb.backend.app.schemas.bot.BotUpdate(*, name: str, version: str = None, url: str, git_commit: str = None, git_branch: str = None, reviewer_flags: Dict[str, str] = None)[source]

Update a Bot item: Properties to receive on item update