Comments (4)
This is the PEP that gets rid of GenericMeta: https://www.python.org/dev/peps/pep-0560/
from sanic-swagger.
These "fixes" pass all the tests but I really don't think it's correct. Would you mind taking a look when you get the chance? https://github.com/hairychris/sanic-swagger/tree/patch-2
from sanic-swagger.
I would agree that it doesn't feel like the correct approach, but in full transparency, I'm not really sure :/
I'm not sure that I understand what happened with GenericMeta when we moved to Python 3.7
from sanic-swagger.
I am also looking at this. We can add a dependency to keep GenericMeta? https://pypi.org/project/typing/
We can just create a class for GenericMeta?
First of all the fix @hairychris you could import GenericMeta as generic.
from typing import Generic as GenericMeta
from sanic-swagger.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanic-swagger.