Douglas Blank
Douglas Blank
Thank you @jverre! We have added this feature request to the roadmap as item OPIK-837
ACtually, looks like num_trials is computed dynamically. Need to check.
@jverre does this still happen?
> but is there a way to make this work while still having proxy DBs inherit from DbReadBase? So these are wrappers, not subclasses. The difference is that these don't...
I thought about alternative approaches where `None` is never a valid return value. One way would return, say, a `RedactedPerson()` rather than `None`. But I don't think that won't work...
> I imagined that the code is effectively divided into code that can be called with a proxy db, and code that cannot be called with a proxy db This...
@stevenyoungs I think your approach is sound. We can work on proxies and their ability to return None in another initiative.
As @stevenyoungs mentioned, he is only adding type hints in this PR (and adjusting code just enough to pass mypytests). If someone reports a crash because some general code is...
@Nick-Hall said: > A better approach would be to make the proxies return empty objects instead. Maybe ([I mentioned that above](https://github.com/gramps-project/gramps/pull/1919#issuecomment-2633790420)). An even better approach would be that we would...
> At some point, we'll reach a level where this empty Person needs to be handled correctly with if person.is_empty() This approach seems like just kicking the can down the...