In trying the sample python code at https://console.rockset.com/lambdas/details/commons.AvgPurchaseByMinute
It does this import:
from rockset import Client, ParamDict
Which produces an error:
ImportError: cannot import name ‘Client’ from ‘rockset’
I think the reason is that the default pip install of rockset installs version 1.0.1:
% pip3 install rockset
Defaulting to user installation because normal site-packages is not writeable
Collecting rockset
Downloading rockset-1.0.1-py3-none-any.whl (658 kB)
If I force 0.8.3:
% pip3 install rockset==0.8.3
Then it works! So the code maybe needs updating, and should probably specify the version against which it was written.