Skip to content

Commit a6d96be

Browse files
committed
Some changes
1 parent 1e43554 commit a6d96be

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

twikit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
A Python library for interacting with the Twitter API.
88
"""
99

10-
__version__ = '2.0.2'
10+
__version__ = '2.0.3'
1111

1212
import asyncio
1313
import os

twikit/utils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
from datetime import datetime
66
from httpx import AsyncHTTPTransport
77
from typing import TYPE_CHECKING, Any, Awaitable, Generic, Iterator, Literal, TypedDict, TypeVar
8-
from urllib import parse
9-
import urllib
108

119
if TYPE_CHECKING:
1210
from .client.client import Client
@@ -105,9 +103,7 @@ def task_id(self) -> str | None:
105103
return self.response['subtasks'][0]['subtask_id']
106104

107105

108-
def find_dict(
109-
obj: list | dict, key: str | int, find_one: bool = False
110-
) -> list[Any]:
106+
def find_dict(obj: list | dict, key: str | int, find_one: bool = False) -> list[Any]:
111107
"""
112108
Retrieves elements from a nested dictionary.
113109
"""

0 commit comments

Comments
 (0)