Skip to content
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
4 changes: 1 addition & 3 deletions threaded/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,5 @@
'Dennis Dmitriev': 'dis-xcom@gmail.com',
}
__url__ = 'https://github.com/python-useful-helpers/threaded'
__description__ = (
"Decorators for running functions in Thread/ThreadPool/IOLoop"
)
__description__ = "Decorators for running functions in Thread/ThreadPool/IOLoop"
__license__ = "Apache License, Version 2.0"
4 changes: 2 additions & 2 deletions threaded/_base_gthreadpooled.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import gevent.event
import gevent.threadpool
import gevent.event # type: ignore
import gevent.threadpool # type: ignore
import typing
from . import _base_threaded

Expand Down
2 changes: 1 addition & 1 deletion threaded/_gthreadpooled2.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import gevent.event
import gevent.event # type: ignore
import typing
from . import _base_gthreadpooled

Expand Down
2 changes: 1 addition & 1 deletion threaded/_gthreadpooled3.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import gevent.event
import gevent.event # type: ignore
import typing
from . import _base_gthreadpooled

Expand Down
2 changes: 1 addition & 1 deletion threaded/_threaded3.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ThreadPooled(_base_threaded.BasePooled):
@property
def loop_getter_need_context(self) -> bool: ...

def _get_function_wrapper(self, func: typing.Callable) -> typing.Callable[..., typing.Union[concurrent.futures.Future, asyncio.Task]]: ...
def _get_function_wrapper(self, func: typing.Callable) -> typing.Callable[..., typing.Union[concurrent.futures.Future, asyncio.Task]]: ... # type: ignore

class Threaded(_base_threaded.BaseThreaded):
def _get_function_wrapper(self, func: typing.Callable) -> typing.Callable[..., threading.Thread]: ...
Expand Down