How explicit must I be about "nodes" in class definition of Graph_Advanced?

When I submit, I get the error message “There was an error grading your submission. Details:
Graph_Advanced.init() missing 1 required positional argument: ‘nodes’” for all four assignments.

I figured out that a small edit on the “generate_graph” function fixes this problem before submission. I was getting the following error …

“TypeError: Graph_Advanced.init() missing 1 required positional argument: ‘nodes’”

I made a copy of generate_graph and modified the code from…
random.seed(seed)
graph = Graph_Advanced()

to …
random.seed(seed)
graph = Graph_Advanced(nodes=nodes)

With that tweak, all four assignments run to conclusion.

Of course, I am not permitted to modify generate_graph, or the equivalent within the submission.

Suggestions on what I can change to make this work? Thanks

This particular error, says that when you instantiate the class you are missing the node parameter in the initialization, are you sure you havent modified the part you are not supposed to!

If I was you I would get the latest version of the assignment just in case, there is a post by Lucas (further down on posts) here in this specialization which explains the process on how to do that!