This update release fixes to #10. When using from __future__ import annotations
, the main difference is that inspect.signature parameters use string annotations (forward declarations). These need to be detected and resolved.
- support optional arguments: Optional[sitk.Image])
- support PEP 604 annotations: sitk.Image | None
- add test for
from __future__ import annotations
, test in Python 3.8, 3.9, 3.10, 3.11