I have the following code
def update_field(db_entity, field_name) db_entity_value = db_entity.attributes[field_name] if db_entity_value == false db_en