Skip to content

Commit af61c55

Browse files
committed
fix: update import statements for ARC to include 'import-not-found' type ignore
1 parent 8a086b9 commit af61c55

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

middleware/sql_to_arc/src/middleware/sql_to_arc/processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from collections.abc import AsyncGenerator
99
from typing import Any, cast
1010

11-
from arctrl import ARC # type: ignore[import-untyped]
11+
from arctrl import ARC # type: ignore[import-untyped, import-not-found]
1212
from opentelemetry import trace
1313

1414
from middleware.api_client import ApiClient, ApiClientError

middleware/sql_to_arc/tests/integration/test_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from unittest.mock import AsyncMock, MagicMock
88

99
import pytest
10-
from arctrl import ARC # type: ignore[import-untyped]
10+
from arctrl import ARC # type: ignore[import-untyped, import-not-found]
1111

1212
from middleware.api_client import ApiClient
1313
from middleware.shared.api_models.models import CreateOrUpdateArcsResponse

middleware/sql_to_arc/tests/unit/test_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import Any
44

55
import pytest
6-
from arctrl import ARC # type: ignore[import-untyped]
6+
from arctrl import ARC # type: ignore[import-untyped, import-not-found]
77

88
from middleware.sql_to_arc.builder import build_single_arc_task
99
from middleware.sql_to_arc.models import ArcBuildData

middleware/sql_to_arc/tests/unit/test_mapper.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
import datetime
44
from typing import Any
55

6-
from arctrl import ArcAssay, ArcInvestigation, ArcStudy, Person, Publication # type: ignore[import-untyped]
6+
from arctrl import ( # type: ignore[import-untyped, import-not-found]
7+
ArcAssay,
8+
ArcInvestigation,
9+
ArcStudy,
10+
Person,
11+
Publication,
12+
)
713

814
from middleware.sql_to_arc.mapper import (
915
map_annotation,

0 commit comments

Comments
 (0)