#NEWLINE# def _clear( self , ctx , table_name , record_id , column ) : #NEWLINE# #INDENT# vsctl_table = self . _get_table ( table_name ) #NEWLINE# ovsrec_row = ctx . must_get_row ( vsctl_table , record_id ) #NEWLINE# column_schema = ctx . idl . tables [ table_name ] . columns [ column ] #NEWLINE# if ( column_schema . type . n_min > 0 ) : #NEWLINE# #INDENT# vsctl_fatal ( ( '"clear" operation cannot be applied to column %s of table %s, which is not allowed to be empty' % ( column , table_name ) ) ) #NEWLINE# #UNINDENT# default_datum = ovs . db . data . Datum . default ( column . type ) #NEWLINE# setattr ( ovsrec_row , column , default_datum . to_python ( ovs . db . idl . _uuid_to_row ) ) #NEWLINE# ctx . invalidate_cache ( )