2 ms·missing = object() data = collection.get("key", missing) if data is missing: ... else: ....by eesmith 10mo agomissing = object() data = collection.get("key", missing) if data is missing: ... else: ....