diff options
author | Alexander Kabui | 2021-03-31 22:29:37 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-03-31 22:29:37 +0300 |
commit | f6c6851504f14a1a163b6eeb5e3653a5ec3f5ceb (patch) | |
tree | f4a4bfc24055065357b7bb59e73ded19f5a97b35 /gn3/app.py | |
parent | b88d63ac06f157a97cc88bee0ea702949a5a0c64 (diff) | |
download | genenetwork3-f6c6851504f14a1a163b6eeb5e3653a5ec3f5ceb.tar.gz |
add datasets functions and endpoints
Diffstat (limited to 'gn3/app.py')
-rw-r--r-- | gn3/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ from gn3.api.gemma import gemma from gn3.api.general import general from gn3.api.correlation import correlation from gn3.api.traits import trait +from gn3.api.datasets import dataset def create_app(config: Union[Dict, str, None] = None) -> Flask: @@ -30,4 +31,5 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: app.register_blueprint(gemma, url_prefix="/api/gemma") app.register_blueprint(correlation, url_prefix="/api/correlation") app.register_blueprint(trait, url_prefix="/api/trait") + app.register_blueprint(dataset, url_prefix="/api/dataset") return app |