Closed pinterior closed 3 months ago
There's a stunt we can put in place to avoid the Python 3.7 blocker. Look at my draft suggestion for more.
that makes sense. committed.
CI action "MypyC Tests (3.7, macos-latest) (pull_request)" failing due to https://github.com/actions/runner-images/issues/9770 should I create separate PR to use 'macos-13' image for Python 3.7 instead of 'macos-latest'?
should I create separate PR to use 'macos-13' image for Python 3.7 instead of 'macos-latest'?
no need, I will reorganize the whole thing anyway.
Problem to solve
when I write something like:
x
is inferred asstr | float | None
instead of actualstr | None
.Change
use custom
TypedDict
type as the return type ofdetect
method if Python version >= 3.8. (TypedDict
is not available in Python 3.7)