The old Python datastore API (including GQL) does not support OR queries. The new NDP API does support AND and OR queries.
Note that OR queries are not native to datastore: NDB API will issue multiple queries and then combine them in memory to obtain the result.
In GQL the equivalent result would be achieved by running two queries, one for each condition, and then combining the results.