I was following the documentation about using UUIDs as the _id field (https://docs.python-eve.org/en/stable/tutorials/custom_idfields.html). I followed the instructions and kept receiving an error back saying:
{"_id": "must be of uuid type"}
The issues was caused by _validate_type_uuid method not returning a value. Adding return True fixed it.
The other type validators all return True on success (https://github.com/pyeve/eve/blob/master/eve/io/mongo/validation.py#L220).
I was following the documentation about using UUIDs as the _id field (https://docs.python-eve.org/en/stable/tutorials/custom_idfields.html). I followed the instructions and kept receiving an error back saying:
{"_id": "must be of uuid type"}
The issues was caused by _validate_type_uuid method not returning a value. Adding return True fixed it.
The other type validators all return True on success (https://github.com/pyeve/eve/blob/master/eve/io/mongo/validation.py#L220).