Skip to content

Commit 3feb4fd

Browse files
authored
Add py.typed files (#618)
1 parent caca674 commit 3feb4fd

File tree

9 files changed

+9
-3
lines changed

9 files changed

+9
-3
lines changed

libs/colbert/ragstack_colbert/py.typed

Whitespace-only changes.

libs/colbert/tests/integration_tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
from typing import Iterator
2+
13
import pytest
24
from _pytest.fixtures import FixtureRequest
35
from cassandra.cluster import Session
46
from ragstack_tests_utils import AstraDBTestStore, LocalCassandraTestStore
57

68

79
@pytest.fixture(scope="session")
8-
def cassandra() -> LocalCassandraTestStore:
10+
def cassandra() -> Iterator[LocalCassandraTestStore]:
911
store = LocalCassandraTestStore()
1012
yield store
1113
if store.docker_container:

libs/knowledge-graph/ragstack_knowledge_graph/py.typed

Whitespace-only changes.

libs/knowledge-store/ragstack_knowledge_store/py.typed

Whitespace-only changes.

libs/langchain/ragstack_langchain/py.typed

Whitespace-only changes.

libs/langchain/tests/integration_tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Iterator
2+
13
import pytest
24
from cassandra.cluster import Session
35
from dotenv import load_dotenv
@@ -7,7 +9,7 @@
79

810

911
@pytest.fixture(scope="session")
10-
def cassandra() -> LocalCassandraTestStore:
12+
def cassandra() -> Iterator[LocalCassandraTestStore]:
1113
store = LocalCassandraTestStore()
1214
yield store
1315
if store.docker_container:

libs/llamaindex/ragstack_llamaindex/py.typed

Whitespace-only changes.

libs/llamaindex/tests/integration_tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
from typing import Iterator
2+
13
import pytest
24
from _pytest.fixtures import FixtureRequest
35
from cassandra.cluster import Session
46
from ragstack_tests_utils import AstraDBTestStore, LocalCassandraTestStore
57

68

79
@pytest.fixture(scope="session")
8-
def cassandra() -> LocalCassandraTestStore:
10+
def cassandra() -> Iterator[LocalCassandraTestStore]:
911
store = LocalCassandraTestStore()
1012
yield store
1113
if store.docker_container:

libs/tests-utils/ragstack_tests_utils/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)