Skip to content

time_bucket_gapfill does not support running without datapoints param. #35

@dreaquil

Description

@dreaquil

Hi!

I'm trying to run a query with time_bucket_gapfill as follows:

MyModel.timescale.filter(time__range=ranges).time_bucket_gapfill('time', '1 day', start=ranges[0], end=ranges[1]).annotate(Count('temperature'))

However, since datapoints defaults to 240, it's not possible to pass None to the interval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions