Skip to content

Commit

Permalink
Literal isn't available before 3.8 so let's avoid it
Browse files Browse the repository at this point in the history
  • Loading branch information
obriencj committed Aug 25, 2021
1 parent 5063fe4 commit b155802
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kojismokydingo/types.py
Expand Up @@ -31,7 +31,7 @@
PathInfo, )
from optparse import Values
from typing import (
Any, Callable, Dict, Iterable, List, Literal,
Any, Callable, Dict, Iterable, List,
Optional, Tuple, Union, )


Expand Down Expand Up @@ -500,15 +500,15 @@ class DecoratedRPMInfo(RPMInfo):
preferred signature (if any) was available.
"""

btype: Literal["rpm"]
btype_id: Literal[1]
btype: str
btype_id: int

filepath: str

sigkey: str

type_id: Literal[0]
type_name: Literal["rpm"]
type_id: int
type_name: str


DecoratedRPMInfos = Iterable[DecoratedRPMInfo]
Expand Down

0 comments on commit b155802

Please sign in to comment.