How to paas null in bulk action when updating using helpers in python

how to paas null in bulk action when updating using helpers in python , i am passing assing in helpers to update a field as null nut it throws error .
action is as below

actions = [
{
'_op_type': 'update',
'_index': 'index_name',
'_id': 3295137582,
'doc':{
'mp_8012_n_0_32': null,
'mp_8013_n_0_32': 2.5,
'mp_8014_n_0_32': 3.7}
}

       ]

Please take care of proper formatting using markdown as well as providing a full blow example allowing others to reproduce the problem. For example the error message in this case would be crucial. Thank you!

null is not a reserved term for python. It should be only treated as an undefined variable name. The behavior is no wonder.

Have you tried 'null' or None?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.