diff --git a/applications/aws_dashboard/pages/endpoints/callbacks.py b/applications/aws_dashboard/pages/endpoints/callbacks.py index 16b9d886f..3efdc29ba 100644 --- a/applications/aws_dashboard/pages/endpoints/callbacks.py +++ b/applications/aws_dashboard/pages/endpoints/callbacks.py @@ -1,7 +1,7 @@ """Callbacks for the Endpoints Subpage Web User Interface""" import logging -from dash import callback, no_update, Input, Output, State +from dash import callback, no_update, Input, Output from dash.exceptions import PreventUpdate # SageWorks Imports diff --git a/applications/aws_dashboard/pages/models/page.py b/applications/aws_dashboard/pages/models/page.py index 7508ef88e..2506be962 100644 --- a/applications/aws_dashboard/pages/models/page.py +++ b/applications/aws_dashboard/pages/models/page.py @@ -1,7 +1,6 @@ """Models: A SageWorks Web Interface to view, and interact with Models""" from dash import register_page -import dash # Local Imports from .layout import models_layout diff --git a/examples/plugins/pages/plugin_page_2.py b/examples/plugins/pages/plugin_page_2.py index 6056d1bf4..eea95f5e8 100644 --- a/examples/plugins/pages/plugin_page_2.py +++ b/examples/plugins/pages/plugin_page_2.py @@ -64,11 +64,7 @@ def page_layout(self) -> dash.html.Div: # Create the Dash app my_app = dash.Dash( - __name__, - title="SageWorks Dashboard", - use_pages=True, - external_stylesheets=css_files, - pages_folder="" + __name__, title="SageWorks Dashboard", use_pages=True, external_stylesheets=css_files, pages_folder="" ) my_app.layout = html.Div( [ diff --git a/examples/plugins/pages/plugin_page_3.py b/examples/plugins/pages/plugin_page_3.py index 691bce36d..fb5a37f0a 100644 --- a/examples/plugins/pages/plugin_page_3.py +++ b/examples/plugins/pages/plugin_page_3.py @@ -140,11 +140,7 @@ def update_all_plugin_properties(inference_run, selected_rows): # Create the Dash app my_app = dash.Dash( - __name__, - title="SageWorks Dashboard", - use_pages=True, - external_stylesheets=css_files, - pages_folder="" + __name__, title="SageWorks Dashboard", use_pages=True, external_stylesheets=css_files, pages_folder="" ) my_app.layout = html.Div( [