Or_filter only filters the last value

Can someone help me figure out what is wrong with my Print Format code?
It’s only filtering the last value item_group = Raw Material. I would like to filter all items with both Non-Stock and Raw Material value

{% set itemList = frappe.get_all('Work Order Item', filters={'parent': doc.name}, or_filters={'item_group': 'Non-stock', 'item_group': 'Raw Material'} , fields=['item_code','item_group','required_qty']) %}
{% for item in itemList %}

@dfranco try this {% set itemList = frappe.get_all(‘Work Order Item’, filters={‘parent’: doc.name, ‘item_group’: [‘in’,[‘Non-stock’, ‘Raw Material’]]}, fields=[‘item_code’,‘item_group’,‘required_qty’]) %}