I’m trying to run python code that has an inheritence pattern like so:
A Object
| /\
| B C
| | |
| D E
\ | /
\|/
F
A = Base Handler
B = OAuth2 Mixin
C = OAuth Mixin
D = Facebook Graph Mixin
E = Twitter Mixin
The function names in B, C, D, E overlap. D and E are mixins so they shouldn’t be independently spawned. How can I resolve this so class F can make calls to specific mixins?
If you know the names of
CandDahead of time, you can just call their methods and passselfexplicitly: