3.1. datanator_query_python package

3.1.1. Subpackages

3.1.2. Submodules

3.1.3. datanator_query_python.__main__ module

datanator_query_python command line interface

Author

Name <email>

Date

2019-8-26

Copyright

2019, Karr Lab

License

MIT

class datanator_query_python.__main__.App(label=None, **kw)[source]

Bases: cement.core.foundation.App

Command line application

class Meta[source]

Bases: object

base_controller = 'base'[source]
handlers = [<class 'datanator_query_python.__main__.BaseController'>, <class 'datanator_query_python.__main__.DefineSchema'>][source]
label = 'datanator_query_python'[source]
class datanator_query_python.__main__.BaseController(*args, **kw)[source]

Bases: cement.ext.ext_argparse.ArgparseController

Base controller for command line application

class Meta[source]

Bases: object

arguments = [(['-v', '--version'], {'action': 'version', 'version': '0.7.0'})][source]
description = 'datanator_query_python'[source]
label = 'base'[source]
class datanator_query_python.__main__.DefineSchema(*args, **kw)[source]

Bases: cement.ext.ext_argparse.ArgparseController

Karrlab elasticsearch delete index.

class Meta[source]

Bases: object

arguments = [(['db'], {'type': <class 'str'>, 'help': 'Name of the database in which the collection resides.'}), (['collection'], {'type': <class 'str'>, 'help': 'Name of the collection to be defined.'}), (['jsonschema'], {'type': <class 'str'>, 'help': 'Location of jsonschema'}), (['--config_name', '-cn'], {'type': <class 'str'>, 'default': 'TestConfig', 'help': 'Config class to be used.'})][source]
description = 'Define jsonschema of a collection'[source]
label = 'mongo-def-schema'[source]
stacked_on = 'base'[source]
stacked_type = 'nested'[source]
datanator_query_python.__main__.main()[source]

3.1.4. datanator_query_python._version module

3.1.5. Module contents