Skip to content

Commit 54702b0

Browse files
Add deprecated faststream ingeration info in RuntimeError
1 parent d4c640c commit 54702b0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/dishka/integrations/faststream/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
)
2828
else:
2929
raise RuntimeError( # noqa: TRY003
30-
f"FastStream {FASTSTREAM_VERSION} version not supported",
30+
f"FastStream {FASTSTREAM_VERSION} version not supported. "
31+
"The integration has been moved to the dishka-faststream package"
32+
" and will be removed in future versions."
33+
"\n`pip install dishka-faststream`"
34+
"\nhttps://github.com/faststream-community/dishka-faststream",
3135
)
3236

3337
__all__ = (

0 commit comments

Comments
 (0)