So, you have a Foo, you have a Bar. Both of them consist of elements that somehow mix together, and you want to make a Baz which inherits from both of them. How would you do that? Well, you'd go for multiple inheritance.
class Foo():
def get_foo(self):
return "foo"