dummy connection python class