3.1. obj_tables_test_migration_repo package

3.1.2. Submodules

3.1.3. obj_tables_test_migration_repo.__main__ module

Code for creating configuration files in this repo

Author

Arthur Goldberg <Arthur.Goldberg@mssm.edu>

Date

2019-03-21

Copyright

2019, Karr Lab

License

MIT

class obj_tables_test_migration_repo.__main__.Utils[source]

Bases: object

static make_data_file(parser, args)[source]
static make_data_schema_migration_conf_file(parser, args)[source]
static make_schema_changes_template(parser, args)[source]
static not_supported(parser, args)[source]
static validate_schema(parser, args)[source]
static validate_schema_changes_file(parser, args)[source]
obj_tables_test_migration_repo.__main__.main(parser, args)[source]

3.1.4. obj_tables_test_migration_repo._version module

3.1.5. obj_tables_test_migration_repo.core module

Test repo for migration

Author

Arthur Goldberg <Arthur.Goldberg@mssm.edu>

Date

2019-03-21

Copyright

2019, Karr Lab

License

MIT

class obj_tables_test_migration_repo.core.Reference(_comments=None, **kwargs)[source]

Bases: obj_tables.core.Model

class Meta[source]

Bases: obj_tables.core.Meta

attribute_order = ('id', 'published')[source]
attributes = {'id': <obj_tables.core.SlugAttribute object>, 'published': <obj_tables.core.BooleanAttribute object>}[source]
indexed_attrs_tuples = ()[source]
inheritance = (<class 'obj_tables_test_migration_repo.core.Reference'>,)[source]
local_attributes = {'id': <obj_tables.core.LocalAttribute object>, 'published': <obj_tables.core.LocalAttribute object>, 'tests': <obj_tables.core.LocalAttribute object>}[source]
ordering = ('id',)[source]
primary_attribute = <obj_tables.core.SlugAttribute object>[source]
related_attributes = {'tests': <obj_tables.core.ManyToManyAttribute object>}[source]
unique_together = ()[source]
verbose_name = 'Reference'[source]
verbose_name_plural = 'References'[source]
id = <obj_tables.core.SlugAttribute object>[source]
objects = <obj_tables.core.Manager object>[source]
published = <obj_tables.core.BooleanAttribute object>[source]
class obj_tables_test_migration_repo.core.Test(_comments=None, **kwargs)[source]

Bases: obj_tables.core.Model

class Meta[source]

Bases: obj_tables.core.Meta

attribute_order = ('id', 'name', 'existing_attr')[source]
attributes = {'existing_attr': <obj_tables.core.IntegerAttribute object>, 'id': <obj_tables.core.SlugAttribute object>, 'name': <obj_tables.core.StringAttribute object>, 'references': <obj_tables.core.ManyToManyAttribute object>}[source]
indexed_attrs_tuples = ()[source]
inheritance = (<class 'obj_tables_test_migration_repo.core.Test'>,)[source]
local_attributes = {'existing_attr': <obj_tables.core.LocalAttribute object>, 'id': <obj_tables.core.LocalAttribute object>, 'name': <obj_tables.core.LocalAttribute object>, 'references': <obj_tables.core.LocalAttribute object>}[source]
ordering = ('id',)[source]
primary_attribute = <obj_tables.core.SlugAttribute object>[source]
related_attributes = {}[source]
unique_together = ()[source]
verbose_name = 'Test'[source]
verbose_name_plural = 'Tests'[source]
existing_attr = <obj_tables.core.IntegerAttribute object>[source]
id = <obj_tables.core.SlugAttribute object>[source]
name = <obj_tables.core.StringAttribute object>[source]
objects = <obj_tables.core.Manager object>[source]
references = <obj_tables.core.ManyToManyAttribute object>[source]

3.1.6. Module contents