Skip to content

Commit

Permalink
Some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
d60 committed Jul 25, 2024
1 parent 1e43554 commit a6d96be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion twikit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
A Python library for interacting with the Twitter API.
"""

__version__ = '2.0.2'
__version__ = '2.0.3'

import asyncio
import os
Expand Down
6 changes: 1 addition & 5 deletions twikit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from datetime import datetime
from httpx import AsyncHTTPTransport
from typing import TYPE_CHECKING, Any, Awaitable, Generic, Iterator, Literal, TypedDict, TypeVar
from urllib import parse
import urllib

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


def find_dict(
obj: list | dict, key: str | int, find_one: bool = False
) -> list[Any]:
def find_dict(obj: list | dict, key: str | int, find_one: bool = False) -> list[Any]:
"""
Retrieves elements from a nested dictionary.
"""
Expand Down

0 comments on commit a6d96be

Please sign in to comment.