protected PyType parseFileContents(InputStream in) throws IOException {
PythonInterpreter pi = PythonDataStoreAdapter.this.py.interpreter();
pi.execfile(in);
PyStringMap locals = (PyStringMap) pi.getLocals();
for (Object obj : locals.values()) {
if (obj instanceof PyType) {
PyType pobj = (PyType) obj;
try {
PyObject init = pobj.__getattr__("__init__");
if (init != null) {