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

[Servicebus] pylint #36437

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import time
from concurrent.futures import ThreadPoolExecutor, TimeoutError as FuturesTimeoutError
import queue
from typing import TYPE_CHECKING, Union, Optional, Any
from typing import TYPE_CHECKING, Union, Optional, Any, Callable

from .._servicebus_receiver import ServiceBusReceiver
from .._servicebus_session import ServiceBusSession
Expand All @@ -19,7 +19,6 @@
from .utils import get_renewable_start_time, utc_now, get_renewable_lock_duration

if TYPE_CHECKING:
from typing import Callable

Renewable = Union[ServiceBusSession, ServiceBusReceivedMessage]
LockRenewFailureCallback = Callable[[Renewable, Optional[Exception]], None]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
from datetime import datetime, timedelta
from typing import TYPE_CHECKING, cast, Union, Mapping, Type, Any, Optional
from typing import TYPE_CHECKING, cast, Union, Mapping, Type, Any, Optional, TypeVar
from xml.etree.ElementTree import ElementTree, SubElement, QName
import isodate

Expand All @@ -12,7 +12,6 @@

if TYPE_CHECKING:
# pylint: disable=unused-import, ungrouped-imports
from typing import TypeVar
from ._models import (
QueueProperties,
TopicProperties,
Expand Down