Skip to content

Commit

Permalink
Merge branch 'main' into feature/exceptional-site-data-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MeenaBana authored Aug 14, 2024
2 parents f308406 + bb3d2cf commit cddeda4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/Exploring_API_Functions_Authentication.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"source": [
"# All inverter data for the site\n",
"inverter_json = model_data.get_object_descendants(\n",
" \"InverterType\", [site_id], \"PV_Assets\"\n",
" \"InverterType\", site_id, \"PV_Assets\"\n",
")\n",
"inverters = AnalyticsHelper(inverter_json)"
]
Expand Down
2 changes: 2 additions & 0 deletions src/pyprediktormapclient/opc_ua.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ def _process_df(self, df_result: pd.DataFrame, columns: Dict[str, str]) -> pd.Da

return df_result


async def _make_request(self, endpoint: str, body: dict, max_retries: int, retry_delay: int):
for attempt in range(max_retries):
try:
Expand Down Expand Up @@ -451,6 +452,7 @@ async def process_batch(variables, time_batch):
combined_df = pd.concat(results, ignore_index=True)
return combined_df


async def get_raw_historical_values_asyn(
self,
start_time: datetime,
Expand Down

0 comments on commit cddeda4

Please sign in to comment.