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 4, 2024
1 parent d97ca85 commit 64f9195
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pvconsumer/solar_sheffield_passiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ def get_all_systems_from_solar_sheffield(pv_system_ids: List[int] = None) -> pd.

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

data_df = raw_to_dataframe(response=response)

Expand Down

0 comments on commit 64f9195

Please sign in to comment.