'Update fetch values based on queries setup'

def update_fields_to_fetch(self):

    if self.flags.update_fields_to_fetch_queries:
        for query in self.flags.update_fields_to_fetch_queries:
            frappe.db.sql(query)
