I have a use case where a DATE field needs to be set to NULL under certain circumstances. This is currently not working when sending updates to a branch versioned feature service layer through the ApplyEdits endpoint. This is being performed in a python script sending a POST request to the endpoint.
This is the updates object, as displayed in a debug session:

The error I receive when sending this object:
{'code': 400, 'extendedCode': -2147217395, 'message': 'Unable to complete operation.', 'details': ['Setting of value for LRS_DATE_RETIRE failed.', 'Operation rolled back.', 'Operation rolled back.']}
I can successfully update the field manually using the ApplyEdits endpoint with this object:

But I am not able to set this value to NULL through Python, since Python uses None as the NULL keyword and will not recognize the value of NULL.
Any assistance on this issue will be greatly appreciated!