Skip to content

Commit

Permalink
linter formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Dec 26, 2023
1 parent 8207cd6 commit b0e2ed5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/sageworks/utils/sageworks_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def __init__(self, rate_seconds=60):
self.last_log_times = defaultdict(lambda: 0)

def filter(self, record):

# Get the message and last log time for this message
message = str(record.msg)
last_log_time = self.last_log_times[message]
Expand Down
13 changes: 7 additions & 6 deletions tests/create_basic_test_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

# Create the test_data DataSource
if recreate or not DataSource("test_data").exists():

# Create a new Data Source from a dataframe of test data
test_data = TestDataGenerator()
df = test_data.person_data()
Expand All @@ -60,11 +59,13 @@
# Create the abalone_regression Model
if recreate or not Model("abalone-regression").exists():
fs = FeatureSet("abalone_features")
fs.to_model(ModelType.REGRESSOR,
name="abalone-regression",
target_column="class_number_of_rings",
tags=["abalone", "regression"],
description="Abalone Regression Model")
fs.to_model(
ModelType.REGRESSOR,
name="abalone-regression",
target_column="class_number_of_rings",
tags=["abalone", "regression"],
description="Abalone Regression Model",
)

# Create the abalone_regression Endpoint
if recreate or not Endpoint("abalone-regression-end").exists():
Expand Down

0 comments on commit b0e2ed5

Please sign in to comment.