From 428007608b3bea76cad01331b291ff118b38d997 Mon Sep 17 00:00:00 2001 From: Jack Leow Date: Sun, 10 Nov 2024 19:50:35 -0800 Subject: [PATCH] Removed "generated by pyright" comments. --- aiokafka/__init__.pyi | 4 ---- aiokafka/abc.pyi | 4 ---- aiokafka/client.pyi | 4 ---- aiokafka/cluster.pyi | 4 ---- aiokafka/consumer/__init__.pyi | 4 ---- aiokafka/coordinator/protocol.pyi | 4 ---- aiokafka/errors.pyi | 4 ---- aiokafka/structs.pyi | 4 ---- 8 files changed, 32 deletions(-) diff --git a/aiokafka/__init__.pyi b/aiokafka/__init__.pyi index 4cc1e9ad..38189711 100644 --- a/aiokafka/__init__.pyi +++ b/aiokafka/__init__.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - from .abc import ConsumerRebalanceListener from .consumer import AIOKafkaConsumer from .errors import ConsumerStoppedError, IllegalOperation diff --git a/aiokafka/abc.pyi b/aiokafka/abc.pyi index 6aa30f6a..8a258eda 100644 --- a/aiokafka/abc.pyi +++ b/aiokafka/abc.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - import abc from aiokafka.structs import TopicPartition diff --git a/aiokafka/client.pyi b/aiokafka/client.pyi index e40a34b9..ad5d7c70 100644 --- a/aiokafka/client.pyi +++ b/aiokafka/client.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - from enum import IntEnum log = ... diff --git a/aiokafka/cluster.pyi b/aiokafka/cluster.pyi index 620efa71..c93c8fc3 100644 --- a/aiokafka/cluster.pyi +++ b/aiokafka/cluster.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - from concurrent.futures import Future from typing import Any, Callable, Optional, Sequence, Set, TypedDict, Union from aiokafka.client import CoordinationType diff --git a/aiokafka/consumer/__init__.pyi b/aiokafka/consumer/__init__.pyi index 825c076d..1c61c672 100644 --- a/aiokafka/consumer/__init__.pyi +++ b/aiokafka/consumer/__init__.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - from .consumer import AIOKafkaConsumer __all__ = ["AIOKafkaConsumer"] diff --git a/aiokafka/coordinator/protocol.pyi b/aiokafka/coordinator/protocol.pyi index ffc0f50a..4dcaacdb 100644 --- a/aiokafka/coordinator/protocol.pyi +++ b/aiokafka/coordinator/protocol.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - from typing import List, NamedTuple from aiokafka.protocol.struct import Struct from aiokafka.structs import TopicPartition diff --git a/aiokafka/errors.pyi b/aiokafka/errors.pyi index 2a470344..db48223f 100644 --- a/aiokafka/errors.pyi +++ b/aiokafka/errors.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - from typing import Any, Type, TypeVar __all__ = ["ConsumerStoppedError", "NoOffsetForPartitionError", "RecordTooLargeError", "ProducerClosed", "KafkaError", "IllegalStateError", "IllegalArgumentError", "NoBrokersAvailable", "NodeNotReadyError", "KafkaProtocolError", "CorrelationIdError", "Cancelled", "TooManyInFlightRequests", "StaleMetadata", "UnrecognizedBrokerVersion", "IncompatibleBrokerVersion", "CommitFailedError", "AuthenticationMethodNotSupported", "AuthenticationFailedError", "BrokerResponseError", "NoError", "UnknownError", "OffsetOutOfRangeError", "CorruptRecordException", "UnknownTopicOrPartitionError", "InvalidFetchRequestError", "LeaderNotAvailableError", "NotLeaderForPartitionError", "RequestTimedOutError", "BrokerNotAvailableError", "ReplicaNotAvailableError", "MessageSizeTooLargeError", "StaleControllerEpochError", "OffsetMetadataTooLargeError", "StaleLeaderEpochCodeError", "GroupLoadInProgressError", "GroupCoordinatorNotAvailableError", "NotCoordinatorForGroupError", "InvalidTopicError", "RecordListTooLargeError", "NotEnoughReplicasError", "NotEnoughReplicasAfterAppendError", "InvalidRequiredAcksError", "IllegalGenerationError", "InconsistentGroupProtocolError", "InvalidGroupIdError", "UnknownMemberIdError", "InvalidSessionTimeoutError", "RebalanceInProgressError", "InvalidCommitOffsetSizeError", "TopicAuthorizationFailedError", "GroupAuthorizationFailedError", "ClusterAuthorizationFailedError", "InvalidTimestampError", "UnsupportedSaslMechanismError", "IllegalSaslStateError", "UnsupportedVersionError", "TopicAlreadyExistsError", "InvalidPartitionsError", "InvalidReplicationFactorError", "InvalidReplicationAssignmentError", "InvalidConfigurationError", "NotControllerError", "InvalidRequestError", "UnsupportedForMessageFormatError", "PolicyViolationError", "KafkaUnavailableError", "KafkaTimeoutError", "KafkaConnectionError", "UnsupportedCodecError"] diff --git a/aiokafka/structs.pyi b/aiokafka/structs.pyi index 98c75d59..82010ec5 100644 --- a/aiokafka/structs.pyi +++ b/aiokafka/structs.pyi @@ -1,7 +1,3 @@ -""" -This type stub file was generated by pyright. -""" - from dataclasses import dataclass from typing import Generic, List, NamedTuple, Optional, Sequence, Tuple, TypeVar from aiokafka.errors import KafkaError