python-mock-firestore
python-mock-firestore copied to clipboard
Document.to_dict() returns {} for an empty object, but emulator returns None
I get different behavior in this method between the mock and firestore emulator
https://github.com/mdowds/python-mock-firestore/blob/0de34b1c319c08ccbcc6887d110f3bf8f5ff2116/mockfirestore/document.py#L25