From 083ec0259f6177447b09ea1e1feb4da136754f0d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Aug 2023 20:24:14 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/get_installed_capacity.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/get_installed_capacity.py b/scripts/get_installed_capacity.py index ddf3091..95ca46e 100644 --- a/scripts/get_installed_capacity.py +++ b/scripts/get_installed_capacity.py @@ -10,7 +10,6 @@ import json import boto3 -import xarray import xarray as xr from nowcasting_datamodel.connection import DatabaseConnection from nowcasting_datamodel.models.base import Base_PV @@ -37,7 +36,6 @@ # get pv systems from database and update connection = DatabaseConnection(url=db_url, base=Base_PV, echo=True) with connection.get_session() as session: - pv_systems = session.query(PVSystemSQL).all() for pv_system in pv_systems: