I am trying to insert a custom object into a PyMongo database collection. It threw an InvalidDocument error, and after searching on StackOverflow, and searching on
InvalidDocument