Migrate PythonProject to Parsing and Indexing API