Migrating python-graphql-server to new guidelines