3.1. datanator_api package

3.1.2. Submodules

3.1.3. datanator_api.auth module

datanator_api.auth.load_logged_in_user()[source]
datanator_api.auth.login()[source]
datanator_api.auth.login_required(view)[source]
datanator_api.auth.logout()[source]
datanator_api.auth.register()[source]

3.1.4. datanator_api.core module

datanator_api

Author:Name <email>
Date:2019-7-24
Copyright:2019, Karr Lab
License:MIT
class datanator_api.core.ExampleClass(arg_1, arg_2, kwarg_1=None, kwarg_2=None)[source]

Bases: object

Descipton of ExampleClass

attr_1[source]

description of attr_1

Type:type of attr_1
attr_2[source]

description of attr_2

Type:type of attr_2
...
method_1(arg_1, arg_2, kwarg_1=None, kwarg_2=None)[source]

Description of method_1

Parameters:
  • arg_1 (type of arg_1) – description of arg_1
  • arg_2 (type of arg_2) – description of arg_2
  • kwarg_1 (type of kwarg_1, optional) – description of kwarg_1
  • kwarg_2 (type of kwarg_2, optional) – description of kwarg_2
  • ..
Returns:

description of return value

Return type:

type of return value

Raises:

:obj:`type of raised exception(s)` – description of raised exceptions

3.1.5. datanator_api.db_2 module

datanator_api.db_2.close_db(e=None)[source]
datanator_api.db_2.get_db()[source]
datanator_api.db_2.init_app(app)[source]
datanator_api.db_2.init_db()[source]

3.1.6. datanator_api.search module

datanator_api.search.results(molecule_name, organism_name, abstract_default=False)[source]

3.1.7. Module contents

datanator_api.create_app(test_config=None)[source]