dbschema and PythonEvents API