GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — NDB Compressed properties compatibility · Issue #4082 · googleapis/google-cloud-python Closed Labels api: datastoreIssues related to the Datastore API. DescriptionUsing 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. Activity
MetadataMetadataAssigneesLabelsapi: datastoreIssues related to the Datastore API. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |