Description
Using NDB you can define entity properties as compressed and its value will be stored as a blob result of the compression (zlib) of the original value.
I tried to emulate this behavior using google-cloud-datastore library and I inserted a value (blob) exactly equal that the one that NDB inserts.
The first row has been inserted using NDB, the second one using cloud datastore library.
The problem is that NDB is not be able to detect the second row as a compressed value and when I read it returns the compressed value... not the uncompressed one as expected to be.
How do I have to insert a "NDB compressed value" using the API and make it readable using NDB?
Trying to figure out how NDB does, it seems that when a value is compressed it set a "meaning_uri" param. Probably we need a way to set that meaning also using the API.
Thanks.