Tracked down an inconsistency while troubleshooting an error in my app. After getting the data back from Foreman I was expecting to interact with a dictionary but was unexpectedly interacting with a list.
In [112]: type(foreman_client.puppetclasses.show('apache'))
Out[112]: dict
In [113]: type(foreman_client.puppetclasses.show('apache1'))
Out[113]: list