3.1. test_repo package¶
3.1.1. Submodules¶
3.1.2. test_repo.__main__ module¶
test_repo command line interface
Author: | Name <email> |
---|---|
Date: | 2019-2-12 |
Copyright: | 2019, Karr Lab |
License: | MIT |
-
class
test_repo.__main__.
App
(label=None, **kw)[source]¶ Bases:
cement.core.foundation.App
Command line application
-
class
test_repo.__main__.
BaseController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
Base controller for command line application
-
class
test_repo.__main__.
Command3WithArgumentsController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
Command3 description
-
class
Meta
[source]¶ Bases:
object
-
arguments
= [(['arg_1'], {'type': <class 'str'>, 'help': 'Description of arg_1'}), (['arg_2'], {'type': <class 'str'>, 'help': 'Description of arg_2'}), (['--opt-arg-3'], {'type': <class 'str'>, 'default': 'default value of opt-arg-1', 'help': 'Description of opt-arg-3'}), (['--opt-arg-4'], {'type': <class 'float'>, 'default': nan, 'help': 'Description of opt-arg-4'})][source]¶
-
-
class
3.1.3. test_repo.core module¶
Example schema for testing migration
Author: | Arthur Goldberg <Arthur.Goldberg@mssm.edu> |
---|---|
Date: | 2019-2-12 |
Copyright: | 2019, Karr Lab |
License: | MIT |
-
class
test_repo.core.
Reference
(**kwargs)[source]¶ Bases:
obj_model.core.Model
-
class
Meta
[source]¶ Bases:
obj_model.core.Meta
-
attributes
= {'id': <obj_model.core.SlugAttribute object>, 'value': <obj_model.core.StringAttribute object>}[source]¶
-
local_attributes
= {'id': <obj_model.core.LocalAttribute object>, 'tests': <obj_model.core.LocalAttribute object>, 'value': <obj_model.core.LocalAttribute object>}[source]¶
-
-
class
-
class
test_repo.core.
TestNew
(**kwargs)[source]¶ Bases:
obj_model.core.Model
-
class
Meta
[source]¶ Bases:
obj_model.core.Meta
-
attributes
= {'existing_attr': <obj_model.core.StringAttribute object>, 'id': <obj_model.core.SlugAttribute object>, 'name': <obj_model.core.StringAttribute object>, 'references': <obj_model.core.ManyToManyAttribute object>, 'revision': <obj_model.core.StringAttribute object>}[source]¶
-
local_attributes
= {'existing_attr': <obj_model.core.LocalAttribute object>, 'id': <obj_model.core.LocalAttribute object>, 'name': <obj_model.core.LocalAttribute object>, 'references': <obj_model.core.LocalAttribute object>, 'revision': <obj_model.core.LocalAttribute object>}[source]¶
-
-
class