@@ -199,7 +199,7 @@ def test_over_all_with_filters_ref(collection_factory: CollectionFactory) -> Non
199
199
assert res .properties ["text" ].count == 1
200
200
assert res .properties ["text" ].top_occurrences [0 ].value == "two"
201
201
202
- query = lambda : collection .aggregate .over_all (
202
+ query = lambda : collection .aggregate .over_all ( # noqa: E731
203
203
filters = Filter .by_ref ("ref" ).by_property ("text" ).equal ("one" ),
204
204
return_metrics = [Metrics ("text" ).text (count = True , top_occurrences_value = True )],
205
205
)
@@ -361,7 +361,7 @@ def test_hybrid_aggregation_group_by(
361
361
collection .data .insert ({"text" : text_1 })
362
362
collection .data .insert ({"text" : text_2 })
363
363
364
- querier = lambda : collection .aggregate .hybrid (
364
+ querier = lambda : collection .aggregate .hybrid ( # noqa: E731
365
365
"text" ,
366
366
alpha = 0 ,
367
367
query_properties = ["text" ],
@@ -398,7 +398,7 @@ def test_hybrid_aggregation_group_by_with_named_vectors(
398
398
collection .data .insert ({"text" : text_1 })
399
399
collection .data .insert ({"text" : text_2 })
400
400
401
- querier = lambda : collection .aggregate .hybrid (
401
+ querier = lambda : collection .aggregate .hybrid ( # noqa: E731
402
402
"text" ,
403
403
alpha = 0 ,
404
404
query_properties = ["text" ],
@@ -432,7 +432,7 @@ def test_hybrid_aggregation_group_by_with_named_vectors(
432
432
def test_near_vector_aggregation (
433
433
collection_factory : CollectionFactory , option : dict , expected_len : int
434
434
) -> None :
435
- collection_maker = lambda : collection_factory (
435
+ collection_maker = lambda : collection_factory ( # noqa: E731
436
436
properties = [Property (name = "text" , data_type = DataType .TEXT )],
437
437
vectorizer_config = Configure .Vectorizer .text2vec_contextionary (
438
438
vectorize_collection_name = False
0 commit comments