Skip to content
Snippets Groups Projects
Commit 24ff5973 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

remove some unneeded stuff

parent 01c382d5
No related branches found
No related tags found
No related merge requests found
Pipeline #131223 passed
import os, random, string import os, random, string, logging
from authlib.integrations.flask_client import OAuth from authlib.integrations.flask_client import OAuth
from flask import url_for, redirect, current_app as app, Blueprint from flask import url_for, redirect, current_app as app, Blueprint
from flask_login import login_user from flask_login import login_user
from flask_appbuilder import expose, BaseView as AppBuilderBaseView from flask_appbuilder import BaseView as AppBuilderBaseView
from airflow.plugins_manager import AirflowPlugin from airflow.plugins_manager import AirflowPlugin
import logging
import os
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
log.setLevel(os.getenv("AIRFLOW__LOGGING__FAB_LOGGING_LEVEL", "INFO")) log.setLevel(os.getenv("AIRFLOW__LOGGING__FAB_LOGGING_LEVEL", "INFO"))
...@@ -73,16 +71,6 @@ class UnityIntegrationView(AppBuilderBaseView): ...@@ -73,16 +71,6 @@ class UnityIntegrationView(AppBuilderBaseView):
def logout(): def logout():
pass pass
v_unity_view = UnityIntegrationView()
v_unity_package = {
"name": "Unity SSO View",
"category": "Unity Integration",
"view": v_unity_view,
}
class UnityIntegrationPlugin(AirflowPlugin): class UnityIntegrationPlugin(AirflowPlugin):
name = "unity_integration" name = "Unity Integration"
appbuilder_views = []
flask_blueprints = [unity] flask_blueprints = [unity]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment