You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
It would be good to be able to specify the Retention Policy on a per SeriesHelper basis.
At the moment I'm employing a straight-forward hack:
classMySeriesHelper(SeriesHelper):
classMeta:
# ....@classmethoddefcommit(cls, client=None):
# Overwrite this method to add the retention policy. This is a temp# hack until this can be applied to upstream.ifnotclient:
client=cls._clientrtn=client.write_points(cls._json_body_(), retention_policy='my_retention_policy')
cls._reset_()
returnrtn
I'm not sure if I'm missing something and there is actually a better way to do this. But if not, I think it can be fairly easily implemented by adding a new parameter to Meta.
I'd be interested in working on this if you think it's a worthwhile feature.
The text was updated successfully, but these errors were encountered:
It would be good to be able to specify the Retention Policy on a per
SeriesHelper
basis.At the moment I'm employing a straight-forward hack:
I'm not sure if I'm missing something and there is actually a better way to do this. But if not, I think it can be fairly easily implemented by adding a new parameter to
Meta
.I'd be interested in working on this if you think it's a worthwhile feature.
The text was updated successfully, but these errors were encountered: