Skip to content

Commit

Permalink
lint errors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MotwaniM committed Nov 7, 2024
1 parent efeb90b commit 441f19c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion backend/api/application/services/dataset_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def dataset_has_correct_data_types(
for column in schema.columns:
if column.name not in column_types:
continue

actual_type = column_types[column.name]
expected_type = column.data_type

Expand Down
4 changes: 1 addition & 3 deletions backend/test/rapid/items/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_create_schema_metadata_from_dict(self):
assert schema_metadata.owners == [Owner(name="Test", email="[email protected]")]
assert schema_metadata.description == "test"
assert schema_metadata.update_behaviour == "OVERWRITE"
assert schema_metadata.is_latest_version == True
assert schema_metadata.is_latest_version


class TestColumn:
Expand Down Expand Up @@ -276,14 +276,12 @@ def test_schema_returns_correct_dictionary(self):
"domain": "test",
"dataset": "rapid_sdk",
"sensitivity": SensitivityLevel.PUBLIC,
"description": "",
"update_behaviour": UpdateBehaviour.APPEND,
"owners": [{"name": "Test", "email": "[email protected]"}],
"version": None,
"key_value_tags": {},
"key_only_tags": [],
"description": "test",
"update_behaviour": "OVERWRITE",
"is_latest_version": True,
},
"columns": [
Expand Down

0 comments on commit 441f19c

Please sign in to comment.