Improve an render ResamplingFunction
's documentation
#1195
Labels
part:data-pipeline
Affects the data pipeline
part:docs
Affects the documentation
type:enhancement
New feature or enhancement visitble to users
Milestone
What's needed?
The resampling function documentation is not visible, as it is not included in the generated docs. It is also incomplete, as it doesn't mention the some details of what resampling function should expect as input samples.
frequenz-sdk-python/src/frequenz/sdk/timeseries/_resampling.py
Lines 75 to 100 in 6d106d1
Proposed solution
Expose the alias to the docs and clarify:
resampling_period
andmax_data_age_in_periods
) when saying which samples are passed. 1nan
orNone
(what about ìnf`?)samples
can't be an empty collection).Footnotes
The resampling helper class mentions:
↩The text was updated successfully, but these errors were encountered: