def sync_shopify_customers(): for customer in get_shopify_customers(): if not frappe.db.get_value("Customer", {"shopify_id": customer.get('id')}, "name"): create_customer(customer)
def sync_shopify_customers(): for customer in get_shopify_customers(): create_customer(customer)