Skip to content

Commit

Permalink
use class from typing for annotations instead of builtin for 3.7 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
detjensrobert committed Sep 15, 2023
1 parent caacc0a commit 133682a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tosca-package/tosca/yaml2python.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def find_repository(self, name) -> Tuple[str, str]:



def convert_import(self, imp: dict[str, str]) -> Tuple[str, str]:
def convert_import(self, imp: Dict[str, str]) -> Tuple[str, str]:
"converts tosca yaml import dict (as `imp`) to python import statement"
repo = imp.get("repository")
file = imp.get("file")
Expand Down

0 comments on commit 133682a

Please sign in to comment.