Skip to content

Commit

Permalink
Fix type hint in documentation_types to support older python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
AutonomicPerfectionist committed Dec 13, 2023
1 parent d7303e2 commit 7a93360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cminx/documentation_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class SetCommandKeywords(Enum):
FORCE = "FORCE"

@classmethod
def values(cls) -> list[str]:
def values(cls) -> List[str]:
return [param.value for param in cls]


Expand All @@ -54,7 +54,7 @@ class CacheVarType(Enum):
INTERNAL = "INTERNAL"

@classmethod
def values(cls) -> dict[str, 'CacheVarType']:
def values(cls) -> Dict[str, 'CacheVarType']:
return {param.value: param for param in cls}


Expand Down

0 comments on commit 7a93360

Please sign in to comment.