biggr_models.handlers.db_interop_handlers#
Attributes#
Classes#
Base class for HTTP request handlers. |
|
Base class for HTTP request handlers. |
|
Base class for HTTP request handlers. |
|
Base class for HTTP request handlers. |
|
Base class for HTTP request handlers. |
|
Base class for HTTP request handlers. |
|
Base class for HTTP request handlers. |
Module Contents#
- biggr_models.handlers.db_interop_handlers.BASE_URL = 'https://bigg.bio'#
- class biggr_models.handlers.db_interop_handlers.BaseInteropQueryHandler(application: Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)#
Bases:
tornado.web.RequestHandlerBase class for HTTP request handlers.
Subclasses must define at least one of the methods defined in the “Entry points” section below.
Applications should not construct RequestHandler objects directly and subclasses should not override
__init__(override ~RequestHandler.initialize instead).- write_error(status_code: int, **kwargs)#
Override to implement custom error pages.
write_errormay call write, render, set_header, etc to produce output as usual.If this error was caused by an uncaught exception (including HTTPError), an
exc_infotriple will be available askwargs["exc_info"]. Note that this exception may not be the “current” exception for purposes of methods likesys.exc_info()ortraceback.format_exc.
- class biggr_models.handlers.db_interop_handlers.QueryByGeneHandler(application: Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)#
Bases:
BaseInteropQueryHandlerBase class for HTTP request handlers.
Subclasses must define at least one of the methods defined in the “Entry points” section below.
Applications should not construct RequestHandler objects directly and subclasses should not override
__init__(override ~RequestHandler.initialize instead).- async post()#
- class biggr_models.handlers.db_interop_handlers.QueryByStrainHandler(application: Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)#
Bases:
BaseInteropQueryHandlerBase class for HTTP request handlers.
Subclasses must define at least one of the methods defined in the “Entry points” section below.
Applications should not construct RequestHandler objects directly and subclasses should not override
__init__(override ~RequestHandler.initialize instead).- async post()#
- class biggr_models.handlers.db_interop_handlers.QueryByPairHandler(application: Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)#
Bases:
BaseInteropQueryHandlerBase class for HTTP request handlers.
Subclasses must define at least one of the methods defined in the “Entry points” section below.
Applications should not construct RequestHandler objects directly and subclasses should not override
__init__(override ~RequestHandler.initialize instead).- async post()#
- class biggr_models.handlers.db_interop_handlers.StrainListHandler(application: Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)#
Bases:
BaseInteropQueryHandlerBase class for HTTP request handlers.
Subclasses must define at least one of the methods defined in the “Entry points” section below.
Applications should not construct RequestHandler objects directly and subclasses should not override
__init__(override ~RequestHandler.initialize instead).- async get()#
- class biggr_models.handlers.db_interop_handlers.GeneListHandler(application: Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)#
Bases:
BaseInteropQueryHandlerBase class for HTTP request handlers.
Subclasses must define at least one of the methods defined in the “Entry points” section below.
Applications should not construct RequestHandler objects directly and subclasses should not override
__init__(override ~RequestHandler.initialize instead).- async get()#
- class biggr_models.handlers.db_interop_handlers.GeneStrainPairListHandler(application: Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)#
Bases:
BaseInteropQueryHandlerBase class for HTTP request handlers.
Subclasses must define at least one of the methods defined in the “Entry points” section below.
Applications should not construct RequestHandler objects directly and subclasses should not override
__init__(override ~RequestHandler.initialize instead).- async get()#