Person model

TCKDB backend app models person module

class tckdb.backend.app.models.person.Person(**kwargs)[source]

A class for representing a TCKDB Person item

Example:

Person(name='I. B. Writing',
       email='email@dot.com',
       affiliation='Institution of Technology')
id

The primary key (not a user input)

Type

int

name

The Person’s full name

Type

str

email

The Person’s email address

Type

str

affiliation

The Person’s academic affiliation

Type

str

authors_species

An attribute that establishes a bidirectional relationship in a Many to Many data model with the Species table representing species authored by persons in this object. This attribute is added automatically and is only defined under Species as authors.

Type

relationship

reviewers_species

An attribute that establishes a bidirectional relationship in a Many to Many data model with the Species table representing species reviewed by persons in this object. This attribute is added automatically and is only defined under Species as reviewers.

Type

relationship

authors_np_species

An attribute that establishes a bidirectional relationship in a Many to Many data model with the NonPhysicalSpecies table representing non physical species authored by persons in this object. This attribute is added automatically and is only defined under NonPhysicalSpecies as authors.

Type

relationship

reviewers_np_species

An attribute that establishes a bidirectional relationship in a Many to Many data model with the NonPhysicalSpecies table representing non physical species reviewed by persons in this object. This attribute is added automatically and is only defined under NonPhysicalSpecies as reviewers.

Type

relationship

uploaded_species

The number of Species entries uploaded (not a user input)

Type

int

uploaded_non_physical_species

The number of NonPhysicalSpecies entries uploaded (not a user input)

Type

int

uploaded_reactions

The number of Reaction entries uploaded (not a user input)

Type

int

uploaded_networks

The number of Network entries uploaded (not a user input)

Type

int

reviewed_species

The number of Species entries reviewed (not a user input)

Type

int

reviewed_non_physical_species

The number of NonPhysicalSpecies entries reviewed (not a user input)

Type

int

reviewed_reactions

The number of Reaction entries reviewed (not a user input)

Type

int

reviewed_networks

The number of Network entries reviewed (not a user input)

Type

int

reviewer_flags

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

Type

Dict[str, str]