@@ -296,7 +296,10 @@ def test_search_with_filter(self, workspace_id: str):
296296 logger .info (f"Filtered search returned { len (results )} results (node_type in [tech, tech_new])" )
297297 for i , r in enumerate (results , 1 ):
298298 logger .info (f"Filtered Result { i } : { r .model_dump (exclude = {'vector' })} " )
299- assert r .metadata .get ("node_type" ) in ["tech" , "tech_new" ], "All results should have node_type in [tech, tech_new]"
299+ assert r .metadata .get ("node_type" ) in [
300+ "tech" ,
301+ "tech_new" ,
302+ ], "All results should have node_type in [tech, tech_new]"
300303
301304 def test_search_with_id (self , workspace_id : str ):
302305 """Test vector search by unique_id with empty query."""
@@ -522,7 +525,10 @@ async def test_search_with_filter(self, workspace_id: str):
522525 logger .info (f"Filtered search returned { len (results )} results (node_type in [tech, tech_new])" )
523526 for i , r in enumerate (results , 1 ):
524527 logger .info (f"Filtered Result { i } : { r .model_dump (exclude = {'vector' })} " )
525- assert r .metadata .get ("node_type" ) in ["tech" , "tech_new" ], "All results should have node_type in [tech, tech_new]"
528+ assert r .metadata .get ("node_type" ) in [
529+ "tech" ,
530+ "tech_new" ,
531+ ], "All results should have node_type in [tech, tech_new]"
526532
527533 async def test_search_with_id (self , workspace_id : str ):
528534 """Test async vector search by unique_id with empty query."""
0 commit comments