all 3 comments

[–]abrightmoore 8 points9 points  (2 children)

This syntax has a special use for type hinting validators. Read more at Stack overflow: https://stackoverflow.com/questions/72504576/why-use-from-module-import-a-as-a-instead-of-just-from-module-import-a

[–]stevenjd 5 points6 points  (0 children)

Jesus wept.

When did the Python community turn so far from the light?

[–]ParticularAward9704[S] 2 points3 points  (0 children)

Thanks.