We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug mypy indicates that it cannot find overloads with the new max_workers parameter.
How to reproduce Include source code:
import logging from typing import Annotated, Any from fast_depends import Depends from .brokers import broker logger = logging.getLogger(__name__) @broker.subscriber( 'sample', group_id='sample', max_workers=config.SEARCH_QUERY_BATCH, ) async def sample(task: dict[Any, Any]) -> None: pass
And/Or steps to reproduce the behavior:
Expected behavior mypy will be successful
Observed behavior mypy finds a typing error
Screenshots
Environment Running FastStream 0.5.34 with CPython 3.11.11 on Linux
Additional context
my mypy config
[tool.mypy] plugins = ["pydantic.mypy"] ignore_missing_imports = true strict_optional = true no_implicit_optional = true disallow_any_generics = true disallow_untyped_defs = true strict_equality = true warn_unreachable = true warn_no_return = true warn_unused_ignores = true warn_redundant_casts = true warn_unused_configs = true exclude = ["venv", "scripts", "tmp"]
The text was updated successfully, but these errors were encountered:
Close airtai#2060
3bfe927
Close #2060 (#2063)
5c3a98a
Co-authored-by: Daniil Dumchenko <[email protected]>
No branches or pull requests
Describe the bug
mypy indicates that it cannot find overloads with the new max_workers parameter.
How to reproduce
Include source code:
And/Or steps to reproduce the behavior:
Expected behavior
mypy will be successful
Observed behavior
mypy finds a typing error
Screenshots
Environment
Running FastStream 0.5.34 with CPython 3.11.11 on Linux
Additional context
my mypy config
The text was updated successfully, but these errors were encountered: