Bot model

TCKDB backend app models bot module

class tckdb.backend.app.models.bot.Bot(**kwargs)[source]

A class for representing a TCKDB Bot item

(A bot is a software used to automatically generate data for TCKDB)

Example:

Bot(name='ARC',
    version='1.1.0',
    url='https://github.com/ReactionMechanismGenerator/ARC',
    git_commit='7ba4d74c73198c76c70742de8c254e075200a582',
    git_branch='master')
id

The primary key (not a user input)

Type

int

name

The software name

Type

str

version

The software version

Type

str, optional

url

The official software web address

Type

str

git_commit

The git commit hash used for this run

Type

str, optional

git_branch

The git branch used for this run

Type

str, optional

species

A One to Many relationship between Bot and Species.

Type

relationship

non_physical_species

A One to Many relationship between Bot and NonPhysicalSpecies.

Type

relationship

reviewer_flags

Backend flags to assist the review process (not a user input)

Type

Dict[str, str]