-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from jodal/dependabot/pip/mypy-tw-0.960
build(deps-dev): update mypy requirement from ^0.942 to ^0.960
- Loading branch information
Showing
9 changed files
with
42 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from typing import Any, Optional | ||
from typing import Any | ||
|
||
from pykka import Future | ||
|
||
class Envelope: | ||
message: Any | ||
reply_to: Optional[Future] | ||
def __init__(self, message: Any, reply_to: Optional[Future] = ...) -> None: ... | ||
reply_to: Future | None | ||
def __init__(self, message: Any, reply_to: Future | None = ...) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
from queue import Queue | ||
from typing import Any, ClassVar, NamedTuple, Optional | ||
from typing import Any, ClassVar, NamedTuple | ||
|
||
from pykka import Actor, Future | ||
from pykka._types import OptExcInfo | ||
|
||
class ThreadingFutureResult(NamedTuple): | ||
value: Optional[Any] = ... | ||
exc_info: Optional[OptExcInfo] = ... | ||
value: Any | None = ... | ||
exc_info: OptExcInfo | None = ... | ||
|
||
class ThreadingFuture(Future): | ||
_queue: Queue[ThreadingFutureResult] | ||
_result: Optional[ThreadingFutureResult] | ||
_result: ThreadingFutureResult | None | ||
|
||
class ThreadingActor(Actor): | ||
use_deamon_thread: ClassVar[bool] |