mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 16:56:22 +02:00
chore: ran linting
This commit is contained in:
parent
de8841fb86
commit
e37e6d2d18
19 changed files with 36 additions and 35 deletions
|
|
@ -67,7 +67,7 @@ def make_chunk(*, content: str, document_id: int) -> Chunk:
|
|||
|
||||
@pytest_asyncio.fixture
|
||||
async def seed_google_docs(
|
||||
db_session: AsyncSession, db_user: "User", db_search_space: "SearchSpace"
|
||||
db_session: AsyncSession, db_user: User, db_search_space: SearchSpace
|
||||
):
|
||||
"""Insert a native Drive doc, a legacy Composio Drive doc, and a FILE doc.
|
||||
|
||||
|
|
@ -269,7 +269,7 @@ def mock_task_logger():
|
|||
async def seed_connector(
|
||||
async_engine,
|
||||
*,
|
||||
connector_type: "SearchSourceConnectorType",
|
||||
connector_type: SearchSourceConnectorType,
|
||||
config: dict,
|
||||
name_prefix: str = "test",
|
||||
):
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ mocked at their system boundaries.
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
from unittest.mock import AsyncMock, MagicMock, patch
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ which is the foundation of the Google unification changes.
|
|||
|
||||
import pytest
|
||||
|
||||
from app.config import config as app_config
|
||||
from app.retriever.chunks_hybrid_search import ChucksHybridSearchRetriever
|
||||
|
||||
from .conftest import DUMMY_EMBEDDING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue