Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 3, 2024
1 parent 2680148 commit dfe7be7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pvconsumer/solar_sheffield_passiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def get_all_systems_from_solar_sheffield(pv_system_ids: List[int] = None) -> pd.

full_url = f"{url}sheffield_solar_static_data/table_data?user_id={user_id}&key={key}"
response = requests.get(full_url)
assert response.status_code == 200, f"Cant get data from {url}sheffield_solar_static_data/table_data"
assert (
response.status_code == 200
), f"Cant get data from {url}sheffield_solar_static_data/table_data"

data_df = raw_to_dataframe(response=response)

Expand Down

0 comments on commit dfe7be7

Please sign in to comment.