Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiscale meshes #435

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(temp): auth bp for local ng
akhileshh committed Jan 1, 2025
commit 18276b9e15fad07807d21def5da78d74831c913f
11 changes: 11 additions & 0 deletions pychunkedgraph/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# pylint: disable=invalid-name, missing-docstring

import datetime
import json
import logging
@@ -8,6 +10,7 @@
import pandas as pd
import numpy as np
import redis
from flask import Blueprint
from flask import Flask
from flask.json.provider import DefaultJSONProvider
from flask.logging import default_handler
@@ -74,6 +77,14 @@ def create_app(test_config=None):
app.register_blueprint(segmentation_api_legacy)
app.register_blueprint(segmentation_api_v1)

auth_bp = Blueprint("auth_info", __name__, url_prefix="/")

@auth_bp.route("/auth_info")
def index():
return {"login_url": "https://globalv1.flywire-daf.com/sticky_auth"}

app.register_blueprint(auth_bp)

return app