diff options
| author | Alexander Kabui | 2025-01-11 08:33:51 +0300 |
|---|---|---|
| committer | GitHub | 2025-01-11 08:33:51 +0300 |
| commit | e501df4458080cd4a39f3124c7e13dacd9d9f28a (patch) | |
| tree | 6556b96aece75fddf563753b5e089a6608fbd88c /gn3/app.py | |
| parent | 677d68c4b56585b29227efb9821ca674951411ca (diff) | |
| parent | 200deff652bfae364d6e15ff2bceefdc1686f158 (diff) | |
| download | genenetwork3-e501df4458080cd4a39f3124c7e13dacd9d9f28a.tar.gz | |
Merge pull request #206 from genenetwork/enhancements/streaming-modularization
Enhancements/streaming modularization
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 0bec32a..3841396 100644 --- a/gn3/app.py +++ b/gn3/app.py @@ -28,6 +28,7 @@ from gn3.api.metadata import metadata from gn3.api.sampledata import sampledata from gn3.api.llm import gnqa from gn3.api.rqtl2 import rqtl2 +from gn3.api.streaming import streaming from gn3.case_attributes import caseattr @@ -109,6 +110,7 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: app.register_blueprint(caseattr, url_prefix="/api/case-attribute") app.register_blueprint(gnqa, url_prefix="/api/llm") app.register_blueprint(rqtl2, url_prefix="/api/rqtl2") + app.register_blueprint(streaming, url_prefix="/api/stream") register_error_handlers(app) return app |
