jacobg
jacobg
I think the issue is you're calling `dt.diff` on the sum, which then diffs it from the current time. If you remove the `dt.diff` then you get a `DateTime`. ```python...
Thanks @sebelga. I opened an issue in `ndb` repository to document the cache specification: https://github.com/googleapis/python-ndb/issues/195
I mean just the type class. It would be useful in a common case to just have the type define the id as a string or a number, so that...
But I'd like MyEntity to have a reference to the parent field, but without the entity.Key type, perhaps as a long or some opaque string-representation of the full key.
There's the dependency issue, and there's also just having to use the datastore library's entity key in a type, where it would be nice to just use a string or...
Sure! Here's an example set of schemas: ```typescript const OrganizationSchema = new gstore.Schema({ name: { type: String, required: true } }) const OrganizationModel = gstore.model( 'Organization', OrganizationSchema) const EmployeeSchema =...
Thanks! Perhaps the entity key could be converted to an opaque string, rather than an object? It's convention for most databases to have some sort of reference key, either a...
This is still an issue, even though the `get_or_set` function has since changed. The issue is that the lock timeout is longer than the value timeout, and if the lock...
I think the following code implements it using InvertedRadixTree: ``` class InvertedSuffixTree { private static final Object VALUE = new Object(); private final InvertedRadixTree _invertedRadixTree; InvertedSuffixTree(Collection suffixes) { _invertedRadixTree =...
Thanks Niall. I think I'm satisfied with the solution I pasted above. The "rule suffixes" go like this: 1) Our software has a list of file path suffixes, e.g., ".exe",...