Ansible-inventory unable to parse foreman.py

I just confirmed that this works in Foreman 1.18 & Katello 3.7 from Forklift. Also testing Foreman 1.19 & Katello 3.8 from Forklift and that didn’t work.