diff options
| author | 2024-01-22 17:39:33 +0800 | |
|---|---|---|
| committer | 2024-01-22 17:39:33 +0800 | |
| commit | 37bbb761e05a644f670eb2da721b398f96bb587c (patch) | |
| tree | 1b828a10ffd807d42ab7b73c128a1df9795016ce | |
| parent | 68a2574ca57d4272808827fae4dd0d2f4cddc468 (diff) | |
| download | ipm-37bbb761e05a644f670eb2da721b398f96bb587c.tar.gz ipm-37bbb761e05a644f670eb2da721b398f96bb587c.zip | |
:bug: fix(typing): fix typing defination
| -rw-r--r-- | src/ipm/typing.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipm/typing.py b/src/ipm/typing.py index f800273..45591ed 100644 --- a/src/ipm/typing.py +++ b/src/ipm/typing.py @@ -8,8 +8,8 @@ from typing import ( ) StrPath = str | Path -Index = Dict[Literal["index", "host", "uuid"]] +Index = Dict[Literal["index", "host", "uuid"], str] Package = Dict[ - Literal["name", "version", "description", "requirements", "dependencies"] + Literal["name", "version", "description", "requirements", "dependencies"], str ] -Storage = Dict[Literal["name", "version", "hash", "source"]] +Storage = Dict[Literal["name", "version", "hash", "source"], str] |
