Skip to content

Commit cbbf088

Browse files
authored
fix: raise error on import of AsyncPipeline (#178)
* raise error for async import * Remove all async pipeline tests
1 parent d0e7009 commit cbbf088

File tree

13 files changed

+12
-3792
lines changed

13 files changed

+12
-3792
lines changed

β€Žhaystack_experimental/__init__.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
from .core import Pipeline, AsyncPipeline, run_async_pipeline
5+
from .core import AsyncPipeline, Pipeline

β€Žhaystack_experimental/core/__init__.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
from .pipeline import AsyncPipeline, run_async_pipeline
65
from .pipeline import Pipeline
6+
from .pipeline.async_pipeline import AsyncPipeline
77

8-
_all_ = ["AsyncPipeline", "run_async_pipeline", "Pipeline"]
8+
_all_ = ["Pipeline"]

β€Žhaystack_experimental/core/pipeline/__init__.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
from .async_pipeline import AsyncPipeline, run_async_pipeline
5+
from .async_pipeline import AsyncPipeline
66
from .pipeline import Pipeline
77

8-
__all__ = ["AsyncPipeline", "run_async_pipeline", "Pipeline"]
8+
__all__ = ["Pipeline"]

β€Žhaystack_experimental/core/pipeline/async_pipeline.pyβ€Ž

Lines changed: 7 additions & 575 deletions
Large diffs are not rendered by default.

β€Žtest/components/retrievers/test_in_memory_bm25_retriever.pyβ€Ž

Lines changed: 0 additions & 92 deletions
This file was deleted.

β€Žtest/components/retrievers/test_in_memory_embedding_retriever.pyβ€Ž

Lines changed: 0 additions & 67 deletions
This file was deleted.

β€Žtest/core/__init__.pyβ€Ž

Lines changed: 0 additions & 3 deletions
This file was deleted.

β€Žtest/core/pipeline/__init__.pyβ€Ž

Lines changed: 0 additions & 3 deletions
This file was deleted.

β€Žtest/core/pipeline/features/README.mdβ€Ž

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
Β (0)