How to fix graphql.error.GraphQLSyntaxError: Syntax Error: Unexpected token in Python | DevErrors