-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class _Base #102
Comments
No. It is implementation detail and subject of future changes. BTW what use cases for checking this type? Theoretically what you need is iteration over |
The main project classes have a common interface described by common methods. Based on the principles of parametric polymorphism, it makes sense to single out a formally generalized interface. For python parametric polymorphism goes along with annotations and types such as Mapping, but Mapping exclude getall In this case https://github.com/aamalev/aiohttp_apiset/blob/master/aiohttp_apiset/swagger/route.py#L132 could get away from duck typing |
In this case you need multidict ABCs for extending standard Mapping and MutableMapping. |
To effective detect a group of classes
The simplest implementation is less effective
The text was updated successfully, but these errors were encountered: