There's [some discussion](https://fuhm.net/super-harmful/) about avoiding the use of python's `super()` and so for Leap we chose to call the paren't method explicitelly. Here, you should use `ClientSocket.__init__(self, self.socket)` instead. So the complete method could be something like this:

    def __init__(self, endpoint, context):
        ClientSocket.__init__(self, context.socket(zmq.DEALER), endpoint)