Ge0rg3 / flask-parameter-validation

Get and validate all Flask input parameters with ease.
https://pypi.org/project/Flask-Parameter-Validation/
28 stars 12 forks source link

python 3.6 - AttributeError: module 'typing' has no attribute '_SpecialForm' #2

Closed bincdianshangcun closed 3 years ago

bincdianshangcun commented 3 years ago

When using under python3.6 env, I am getting this error:

AttributeError: module 'typing' has no attribute '_SpecialForm'

is there anyway to work around it?

Thanks!

Ge0rg3 commented 3 years ago

Interesting, will take a look later. Thanks!

bincdianshangcun commented 3 years ago

Thank you! I took a look at my 3.6 env, and notice there indeed isn't a _SpecialForm member in typing.py.

Ge0rg3 commented 3 years ago

Hi, sorry for delay, this issue should now be resolved. As mentioned in the release, this bug required a near-full rewrite 😢
Please can you retest and confirm?

maishams commented 3 years ago

retested and can confirm this works!

Ge0rg3 commented 3 years ago

Thanks, have tested myself too so will close.