SeldonIO / alibi-detect

Algorithms for outlier, adversarial and drift detection
https://docs.seldon.io/projects/alibi-detect/en/stable/
Other
2.21k stars 220 forks source link

Import `Literal` from `typing` now that 3.7 dropped #838

Open ascillitoe opened 1 year ago

ascillitoe commented 1 year ago

Now that we support Python >= 3.8 (#825) we could do:

from typing import Literal

instead of:

from typing_extensions import Literal

Although, this depends if we want to keep unofficial support for 3.7 for a while. I vote no, but probably worth at least checking nothing else on our stack is locked into 3.7...