def play(self):
    print('playing')

def stop(self):
    print('stopping')


class PersistentMPDClient(object):

    def __init__(self, host, port):
        self.host = host
self.port = port
self.client = DummyClient()
self.client.connect(self.host, self.port)
Proxying a class in Python