mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-10-11 20:06:18 +00:00
Documentation: Support nested config
* Add examples to pydantic models.
This commit is contained in:
@@ -419,7 +419,9 @@ def prepare_visualize(
|
||||
start_hour: Optional[int] = 0,
|
||||
) -> None:
|
||||
report = VisualizationReport(filename)
|
||||
next_full_hour_date = pendulum.now(report.config.prediction.timezone).start_of("hour").add(hours=1)
|
||||
next_full_hour_date = (
|
||||
pendulum.now(report.config.prediction.timezone).start_of("hour").add(hours=1)
|
||||
)
|
||||
# Group 1:
|
||||
report.create_line_chart_date(
|
||||
next_full_hour_date, # start_date
|
||||
|
Reference in New Issue
Block a user