Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(tests): satisfy Ruff B903 for hit-test fake (#44299)
mika7b8797c361fd
diff --git a/api/tests/unit_tests/services/test_hit_testing_service.py b/api/tests/unit_tests/services/test_hit_testing_service.pyindex 68edd7486a9..e3b2739068a 100644--- a/api/tests/unit_tests/services/test_hit_testing_service.py+++ b/api/tests/unit_tests/services/test_hit_testing_service.py@@ -1,5 +1,6 @@"""Unit tests for the database-independent hit-testing helpers."""+from dataclasses import dataclassfrom unittest.mock import patchimport pytest@@ -39,11 +40,11 @@ class TestHitTestingServiceArguments:HitTestingService.hit_testing_args_check({"attachment_ids": "not a list"})+@dataclassclass _FakeSegment:"""Minimal stand-in for a retrieval segment carrying a document id."""- def __init__(self, document_id: str) -> None:- self.document_id = document_id+ document_id: strclass _FakeRetrievalRecord: