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 14, 2023
1 parent b2a1687 commit d4d04cc
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 @@ -305,7 +305,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 d4d04cc

Please sign in to comment.