def _get_instance_changes(current, state):
 current_keys = set(current.keys())
 state_keys = set(state.keys())
 changed = salt.utils.compare_dicts(current, state)
 for change in changed.keys():
  if ((change in changed) and (changed[change]['old'] == '')):
   del changed[change]
  if ((change in changed) and (changed[change]['new'] == '')):
   del changed[change]
 return changed

def _get_instance_changes ( current , state ) : current_keys = set ( current . keys ( ) ) state_keys = set ( state . keys ( ) ) changed = salt . utils . compare_dicts ( current , state ) for change in changed . keys ( ) : if ( ( change in changed ) and ( changed [ change ] [ 'old' ] == '' ) ) : del changed [ change ] if ( ( change in changed ) and ( changed [ change ] [ 'new' ] == '' ) ) : del changed [ change ] return changed
get modified properties .