Skip to content

Commit d86c438

Browse files
committed
fix imports sort
Signed-off-by: BoazBD <[email protected]>
1 parent 4efde29 commit d86c438

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

python/python/glide/async_commands/batch.py

+2-9
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
import threading
44
from abc import ABC
5-
from typing import (
6-
List,
7-
Mapping,
8-
Optional,
9-
Tuple,
10-
TypeVar,
11-
Union,
12-
)
5+
from typing import List, Mapping, Optional, Tuple, TypeVar, Union
136

147
from deprecated import deprecated
158
from glide.async_commands.bitmap import (
@@ -1450,7 +1443,7 @@ def spop_count(self: TBatch, key: TEncodable, count: int) -> TBatch:
14501443
"""
14511444
Removes and returns up to `count` random members from the set stored at `key`, depending on the set's length.
14521445
1453-
See [valkey.io](https://valkey-io.github.io/commands/spop/) for more details.
1446+
See [valkey.io](https://valkey.io/commands/spop/) for more details.
14541447
14551448
To pop a single member, see `spop`.
14561449

python/tests/test_async_client.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from typing import Any, Dict, List, Mapping, Optional, Union, cast
1111

1212
import pytest
13+
from glide import ClosingError, RequestError, Script
1314
from glide.async_commands.batch import Batch, ClusterBatch
1415
from glide.async_commands.bitmap import (
1516
BitFieldGet,
@@ -101,8 +102,6 @@
101102
round_values,
102103
)
103104

104-
from glide import ClosingError, RequestError, Script
105-
106105

107106
@pytest.mark.asyncio
108107
class TestGlideClients:

python/tests/test_batch.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from typing import List, Optional, Union, cast
77

88
import pytest
9+
from glide import RequestError, TimeoutError
910
from glide.async_commands.batch import BaseBatch, Batch, ClusterBatch
1011
from glide.async_commands.bitmap import (
1112
BitFieldGet,
@@ -61,8 +62,6 @@
6162
get_random_string,
6263
)
6364

64-
from glide import RequestError, TimeoutError
65-
6665

6766
def generate_key(keyslot: Optional[str], is_atomic: bool) -> str:
6867
"""Generate a key with the same slot if keyslot is provided; otherwise, generate a random key."""

0 commit comments

Comments
 (0)