Skip to content

Commit

Permalink
flake8/linter cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Dec 10, 2024
1 parent 808afd7 commit ddcfda1
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion applications/aws_dashboard/pages/data_sources/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def on_page_load():
Input("url", "href"),
Input("data_sources_table", "rowData"),
State("data_sources_page_loaded", "data"),
prevent_initial_call=True
prevent_initial_call=True,
)
def _on_page_load(href, row_data, page_already_loaded):
if page_already_loaded:
Expand Down
1 change: 0 additions & 1 deletion applications/aws_dashboard/pages/data_sources/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@
callbacks.violin_plot_selection()
callbacks.reorder_sample_rows()
callbacks.correlation_matrix_selection()

2 changes: 1 addition & 1 deletion applications/aws_dashboard/pages/endpoints/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def on_page_load():
Input("url", "href"),
Input("endpoints_table", "rowData"),
State("endpoints_page_loaded", "data"),
prevent_initial_call=True
prevent_initial_call=True,
)
def _on_page_load(href, row_data, page_already_loaded):
if page_already_loaded:
Expand Down
2 changes: 1 addition & 1 deletion applications/aws_dashboard/pages/feature_sets/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def on_page_load():
Input("url", "href"),
Input("feature_sets_table", "rowData"),
State("feature_sets_page_loaded", "data"),
prevent_initial_call=True
prevent_initial_call=True,
)
def _on_page_load(href, row_data, page_already_loaded):
if page_already_loaded:
Expand Down
2 changes: 1 addition & 1 deletion applications/aws_dashboard/pages/main/callbacks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Callbacks/Connections for the Main/Front Dashboard Page"""

from datetime import datetime
from dash import callback, Input, Output, ctx
from dash import callback, Input, Output
from dash.exceptions import PreventUpdate

# SageWorks Imports
Expand Down
1 change: 0 additions & 1 deletion applications/aws_dashboard/pages/main/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def main_layout(
children=[
# This refreshes the page every 60 seconds
dcc.Interval(id="main_page_refresh", interval=update_rate, n_intervals=0),

# Top of Main Page Header/Info Section
dbc.Row(
[
Expand Down
2 changes: 1 addition & 1 deletion applications/aws_dashboard/pages/models/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def on_page_load():
Input("url", "href"),
Input("models_table", "rowData"),
State("models_page_loaded", "data"),
prevent_initial_call=True
prevent_initial_call=True,
)
def _on_page_load(href, row_data, page_already_loaded):
if page_already_loaded:
Expand Down
2 changes: 1 addition & 1 deletion applications/aws_dashboard/pages/pipelines/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def on_page_load():
Input("url", "href"),
Input("pipelines_table", "rowData"),
State("pipelines_page_loaded", "data"),
prevent_initial_call=True
prevent_initial_call=True,
)
def _on_page_load(href, row_data, page_already_loaded):
if page_already_loaded:
Expand Down

0 comments on commit ddcfda1

Please sign in to comment.