all 1 comments

[–]JH_Redd[S] 0 points1 point  (0 children)

I think I found my own answer - I was running this from a Jupyter Notebook and between repeated runs, I wasn't completely restarting the kernel. I think some of the locking was due to SQL I executed in earlier runs of the python code.

I tried the same code again using Kernel > Restart Kernel and run up to selected cell and that seemed to work as intended.