Skip to content

Commit

Permalink
Restore original typing for the work decorator.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogiraoserrao committed Oct 11, 2023
1 parent 1ee6a48 commit 73795bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/textual/_work_decorator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
A decorator used to create [workers](/guide/workers).
"""

Expand Down Expand Up @@ -87,7 +86,7 @@ def work(
exclusive: bool = False,
description: str | None = None,
thread: bool = False,
) -> Callable[FactoryParamSpec, Worker[ReturnType]] | Decorator[..., ReturnType]:
) -> Callable[FactoryParamSpec, Worker[ReturnType]] | Decorator:
"""A decorator used to create [workers](/guide/workers).
Args:
Expand Down

0 comments on commit 73795bf

Please sign in to comment.