File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717from templates .helper import param_traits , type_traits , value_traits
1818import ctypes
1919import itertools
20- from typing import Optional
20+ from typing import Dict , List , Optional
2121from version import Version
2222
2323
@@ -504,7 +504,7 @@ def __validate_union_tag(d):
504504"""
505505 filters object by version
506506"""
507- def _filter_version (d , max_ver : Version ) -> Optional [dict ]:
507+ def _filter_version (d , max_ver : Version ) -> Optional [Dict ]:
508508 ver = Version (d .get ('version' , default_version ))
509509 if ver > max_ver :
510510 return None
@@ -550,7 +550,7 @@ def __filter_desc(d) -> dict:
550550"""
551551 creates docs per version
552552"""
553- def _make_versions (d , max_ver : Version ) -> list [Version ]:
553+ def _make_versions (d , max_ver : Version ) -> List [Version ]:
554554 docs = []
555555 type = d ['type' ]
556556 if 'function' == type or 'struct' == type :
You can’t perform that action at this time.
0 commit comments