Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
satrana42 committed Sep 21, 2024
1 parent fb751c1 commit 402874f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion fennel/client_tests/test_struct_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ def test_struct_type_with_firstk(client):
assert (
len(df["MovieFeaturesWithFirstK.cast_list"][0]) == 2
) # 2 cast members for "Inception"
assert len(df["MovieFeaturesWithFirstK.cast_list"][1]) == 2 # 2 cast members for
assert (
len(df["MovieFeaturesWithFirstK.cast_list"][1]) == 2
) # 2 cast members for
# "Titanic"
ellen = Cast(name="Ellen Page", actor_id=2, age=34)
cast1 = df["MovieFeaturesWithFirstK.cast_list"][0][0]
Expand Down
11 changes: 10 additions & 1 deletion fennel/datasets/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,16 @@ def create_aggregated_dataset(cls, user_info: Dataset):
{"name": "count", "dtype": {"intType": {}}},
{"name": "avg_age", "dtype": {"doubleType": {}}},
{"name": "stddev_age", "dtype": {"doubleType": {}}},
{"name": "countries", "dtype": {"arrayType": {"of": {"optionalType": {"of": {"stringType": {}}}}}}},
{
"name": "countries",
"dtype": {
"arrayType": {
"of": {
"optionalType": {"of": {"stringType": {}}}
}
}
},
},
]
},
"timestamp": "timestamp",
Expand Down

0 comments on commit 402874f

Please sign in to comment.