I suspect you want to pass a string to the macro, because jinja is just a big text templating system. Try wrapping the argument in quotes. Either single or double will do.
e.g.
{{ get_device_type('rd.deal_json:device:product:product_type_id') }}
I suspect you want to pass a string to the macro, because jinja is just a big text templating system. Try wrapping the argument in quotes. Either single or double will do.
e.g.
{{ get_device_type('rd.deal_json:device:product:product_type_id') }}