From 37bbb761e05a644f670eb2da721b398f96bb587c Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Mon, 22 Jan 2024 17:39:33 +0800 Subject: :bug: fix(typing): fix typing defination --- src/ipm/typing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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] -- cgit v1.2.3-70-g09d2