Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e2e686

Browse files
authored
click-spinner: Replace Any return type (#13970)
1 parent cd98102 commit 5e2e686

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
from typing import Any
1+
from typing import TypedDict, type_check_only
2+
3+
@type_check_only
4+
class _Versions(TypedDict):
5+
dirty: bool
6+
error: None
7+
full_revisionid: str
8+
version: str
29

310
version_json: str
411

5-
def get_versions() -> dict[str, Any]: ...
12+
def get_versions() -> _Versions: ...

0 commit comments

Comments
 (0)