diff options
| author | Munyoki Kilyungi (aider) | 2025-02-05 12:22:10 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-02-10 12:57:22 +0300 |
| commit | 007a54501693fe28c25513ce8391da919638384d (patch) | |
| tree | b8c60e2dc9463812caf976be0874c21a050bf9e6 /gn3/app.py | |
| parent | d799cecfba78e29ad6984cb5bcd4eb7c70edd3c6 (diff) | |
| download | genenetwork3-007a54501693fe28c25513ce8391da919638384d.tar.gz | |
feat: Add LMDB sample data retrieval API endpoint with tests
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/app.py')
| -rw-r--r-- | gn3/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn3/app.py b/gn3/app.py index 3841396..74bb5ab 100644 --- a/gn3/app.py +++ b/gn3/app.py @@ -30,6 +30,7 @@ from gn3.api.llm import gnqa from gn3.api.rqtl2 import rqtl2 from gn3.api.streaming import streaming from gn3.case_attributes import caseattr +from gn3.api.lmdb_sample_data import lmdb_sample_data class ConfigurationError(Exception): @@ -111,6 +112,7 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: app.register_blueprint(gnqa, url_prefix="/api/llm") app.register_blueprint(rqtl2, url_prefix="/api/rqtl2") app.register_blueprint(streaming, url_prefix="/api/stream") + app.register_blueprint(lmdb_sample_data, url_prefix="/api/lmdb") register_error_handlers(app) return app |
