add GenerateClassField to PythonSourceGen