bauerji / flask-pydantic

flask extension for integration with the awesome pydantic package
MIT License
363 stars 58 forks source link

Why the dependency must be python3.7 #10

Closed wongqingbin closed 4 years ago

wongqingbin commented 4 years ago

Why the dependency must be python3.7 I want to use python3.6

bauerji commented 4 years ago

Hi,

From the top of my head I know I am using dataclasses module which isn't part of standard library in 3.6. However it can be backported using dataclasses library.

With upcoming release of 3.9 (which is expected on Monday, 2020-10-05) in mind don't You think about upgrading?

Jirka

bauerji commented 4 years ago

I added support for python version 3.6. It's released in package version 0.2.0.

If you aren't satisfied with my solution feel free to reopen this issue or create a new one.

Jirka