Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 2866cb5

Browse files
committed
PR comments
1 parent 9a624a7 commit 2866cb5

File tree

1 file changed

+2
-2
lines changed
  • nowcasting_dataset/data_sources/pv

1 file changed

+2
-2
lines changed

nowcasting_dataset/data_sources/pv/live.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def get_metadata_from_database() -> pd.DataFrame:
4646

4747

4848
def get_pv_power_from_database(
49-
history_duration: timedelta, interpolate_minutes: int = 30, load_extra_minutes: int = 60
49+
history_duration: timedelta, interpolate_minutes: int, load_extra_minutes: int
5050
) -> pd.DataFrame:
5151
"""
5252
Get pv power from database
@@ -80,7 +80,7 @@ def get_pv_power_from_database(
8080
with db_connection.get_session() as session:
8181
pv_yields: List[PVYieldSQL] = get_pv_yield(session=session, start_utc=start_utc_extra)
8282

83-
logger.debug(f"Found {len(pv_yields)} from database")
83+
logger.debug(f"Found {len(pv_yields)} PV yields from the database")
8484

8585
pv_yields_df = pd.DataFrame(
8686
[(PVYield.from_orm(pv_yield)).__dict__ for pv_yield in pv_yields]

0 commit comments

Comments
 (0)