diff options
author | Frederick Muriuki Muriithi | 2024-08-28 17:12:26 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-08-28 17:54:17 -0500 |
commit | 06c6a7f7f42e8ff2d33a934ff695efde24d26d65 (patch) | |
tree | 0ab6115fa7a8ee490cc6efc343c44549c1871281 /uploader/__init__.py | |
parent | 05191fa146fac31fd079c50bf6bcc4983f2f0792 (diff) | |
download | gn-uploader-06c6a7f7f42e8ff2d33a934ff695efde24d26d65.tar.gz |
Move code handling expression data upload into new module.
Diffstat (limited to 'uploader/__init__.py')
-rw-r--r-- | uploader/__init__.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/uploader/__init__.py b/uploader/__init__.py index 2d731af..941765d 100644 --- a/uploader/__init__.py +++ b/uploader/__init__.py @@ -9,13 +9,10 @@ from flask_session import Session from uploader.oauth2.client import user_logged_in, authserver_authorise_uri -from .entry import entrybp -from .upload import upload -from .parse import parsebp -from .samples import samples from .base_routes import base from .dbinsert import dbinsertbp from .oauth2.views import oauth2 +from .expression_data import exprdatabp from .errors import register_error_handlers def override_settings_with_envvars( @@ -83,12 +80,9 @@ def create_app(): # setup blueprints app.register_blueprint(base, url_prefix="/") - app.register_blueprint(entrybp, url_prefix="/") - app.register_blueprint(parsebp, url_prefix="/parse") app.register_blueprint(oauth2, url_prefix="/oauth2") - app.register_blueprint(upload, url_prefix="/upload") app.register_blueprint(dbinsertbp, url_prefix="/dbinsert") - app.register_blueprint(samples, url_prefix="/samples") + app.register_blueprint(exprdatabp, url_prefix="/expression-data") register_error_handlers(app) return app |