![]() |
Baby Language Lab Scripts
A collection of data processing tools.
|
An OutputConfig is a set of Outputs that can be 'run' on a particular TRS file. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | db_insert |
See superclass description. More... | |
def | db_delete |
See superclass description. More... | |
![]() | |
def | __init__ |
Constructor. More... | |
def | db_insert |
Performs operations needed to insert this object into the database. More... | |
def | db_delete |
Performs operations needed to delete this object from the database. More... | |
![]() | |
def | __str__ |
Builds a nicely formatted string containing all attributes of this object (except those in omit_attr_names), for debugging purposes. More... | |
Static Public Member Functions | |
def | db_select |
See superclass description. More... | |
![]() | |
def | db_select |
Selects objects of this type from the database. More... | |
Public Attributes | |
name | |
desc | |
outputs | |
created | |
db_id | |
![]() | |
db_id | |
An OutputConfig is a set of Outputs that can be 'run' on a particular TRS file.
These groupings are recorded in the database.
Definition at line 7 of file output_config.py.
def data_structs.output_config.OutputConfig.__init__ | ( | self, | |
name, | |||
desc, | |||
outputs, | |||
created = None , |
|||
db_id = None |
|||
) |
Constructor.
self | |
name | (string) user-defined name for this config |
desc | (string) user-defined description of this config |
outputs | (list) list of the Output objects that this config wraps |
created | (string=None) creation timestamp string. This is set via db_insert() and db_select(), so you shouldn't often need to use it. A value of None indicates this config isn't in the DB yet. |
db_id | (int=None) if this config is in the DB, this is the corresponding primary key value from the output_configs table (else it is None). This is set via db_insert() and db_select(), so you shouldn't often need to use it. |
Definition at line 15 of file output_config.py.
def data_structs.output_config.OutputConfig.db_delete | ( | self, | |
db | |||
) |
See superclass description.
Definition at line 53 of file output_config.py.
def data_structs.output_config.OutputConfig.db_insert | ( | self, | |
db | |||
) |
See superclass description.
Definition at line 23 of file output_config.py.
|
static |
See superclass description.
Definition at line 66 of file output_config.py.
data_structs.output_config.OutputConfig.created |
Definition at line 19 of file output_config.py.
data_structs.output_config.OutputConfig.db_id |
Definition at line 20 of file output_config.py.
data_structs.output_config.OutputConfig.desc |
Definition at line 17 of file output_config.py.
data_structs.output_config.OutputConfig.name |
Definition at line 16 of file output_config.py.
data_structs.output_config.OutputConfig.outputs |
Definition at line 18 of file output_config.py.