On Wednesday, February 10, 2021 at 9:13:49 PM UTC+1 Jan-Jaap van der Geer 
wrote:

> How do I disable genArchiveRecords()? Returning no records apparently 
> doesn't do the trick. Should I cast an exception or something?
>

It seems throwing a NotImplementedError does the job nicely. A bit hackey, 
but it works :)

So I suppose if the provided timestamp is old I can fetch from the REST 
interface, otherwise I throw a NotImplementedError, that should in theory 
do the trick...

Cheers,
Jan-Jaap

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/b6cdf038-0601-4244-b83d-312bb4810e40n%40googlegroups.com.

Reply via email to