Open
Description
Just leaving here so I don't forget, happy to make a PR on this. Some of the default arguments for functions in generate.py
are mutable, which is not reccomended due to pythons crazy behaviour. These could be changed to None
and the default value set in the body of the function.