I followed Mosh example in the picture above and got AttributeError and I don’t know what to change to fix it.
line 9, in
data = json.dump(movies)
AttributeError: partially initialized module ‘json’ has no attribute ‘dump’ (most likely due to a circular import)
Any help on how to fix this is appreciated.