Skip to content

Commit 5483143

Browse files
committed
use Dict for python3.8 compat
1 parent b57c4a2 commit 5483143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/somesy/package_json/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _from_person(person: Union[Entity, Person]) -> dict:
141141

142142
@staticmethod
143143
def _to_person(
144-
person: Union[str, dict[str, Any], PackageAuthor],
144+
person: Union[str, Dict[str, Any], PackageAuthor],
145145
) -> Union[Entity, Person]:
146146
"""Convert package.json dict or str for person format to project metadata person object."""
147147
if isinstance(person, str):

0 commit comments

Comments
 (0)