sqldict from intermediate python class