Closed rochford77 closed 5 years ago
.get(key, default) is the correct way to get keys, handle key errors rather than checking to see if they exist
still getting the nodes by key the old way but moved from if-else to try-catch for speed, readability, and so I don't look like a total dofus if an actual python dev sees this.
.get(key, default) is the correct way to get keys, handle key errors rather than checking to see if they exist