Skip to content
New issue

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

Added type annotation to public classes. #1074

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Added type annotation to public classes.

5bdd828
Select commit
Loading
Failed to load commit list.
Draft

Added type annotation to public classes. #1074

Added type annotation to public classes.
5bdd828
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Nov 15, 2024 in 5s

2 new alerts including 2 errors

New alerts in code changed by this pull request

  • 2 errors

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 10 in aiokafka/client.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'ClusterMetadata' may not be defined if module
aiokafka.cluster
is imported before module
aiokafka.client
, as the
definition
of ClusterMetadata occurs after the cyclic
import
of aiokafka.client.

Check failure on line 12 in aiokafka/cluster.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'CoordinationType' may not be defined if module
aiokafka.client
is imported before module
aiokafka.cluster
, as the
definition
of CoordinationType occurs after the cyclic
import
of aiokafka.cluster.