chellow 1751875889.0.0__py3-none-any.whl → 1751980348.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of chellow might be problematic. Click here for more details.
chellow/reports/report_247.py
CHANGED
|
@@ -471,14 +471,13 @@ def _process_site(
|
|
|
471
471
|
if supply_ids is not None:
|
|
472
472
|
q = q.where(Supply.id.in_(supply_ids))
|
|
473
473
|
for supply in sess.execute(q).scalars():
|
|
474
|
-
last_era = (
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
)
|
|
478
|
-
.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
if last_era.finish_date is not None and last_era.start_date <= finish_date:
|
|
474
|
+
last_era = sess.scalars(
|
|
475
|
+
select(Era)
|
|
476
|
+
.join(SiteEra)
|
|
477
|
+
.where(Era.supply == supply)
|
|
478
|
+
.order_by(Era.start_date.desc())
|
|
479
|
+
).first()
|
|
480
|
+
if last_era.finish_date is not None and last_era.finish_date < finish_date:
|
|
482
481
|
site_era = sess.execute(
|
|
483
482
|
select(SiteEra).where(
|
|
484
483
|
SiteEra.era == last_era,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1751980348.0.0
|
|
4
4
|
Summary: Web Application for checking UK energy bills.
|
|
5
5
|
Project-URL: Homepage, https://github.com/WessexWater/chellow
|
|
6
6
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
@@ -88,7 +88,7 @@ chellow/reports/report_219.py,sha256=3Zs16ka6dWWY_lCDoA-ZFrlPb4vHk1LQoa2yrlTMntA
|
|
|
88
88
|
chellow/reports/report_231.py,sha256=WARLztV2HzBFSi5_xvY_DTXVyuBBbBYiU0RazfjKw-Y,5270
|
|
89
89
|
chellow/reports/report_233.py,sha256=qJdPFuBgQAWD24BsljgGJ44L_RGdHOA1RqsxGjTWhFc,4975
|
|
90
90
|
chellow/reports/report_241.py,sha256=lfivElRkV_CZAhck0rxAuhqzgponj3aWwmwGMNQvUxg,5343
|
|
91
|
-
chellow/reports/report_247.py,sha256=
|
|
91
|
+
chellow/reports/report_247.py,sha256=00a-shl3TRRWyana42OZHvPnjE803rQc_2HzlSA5xKE,46029
|
|
92
92
|
chellow/reports/report_29.py,sha256=ZXnq6Kg5on-IPquUsH4bn46mBVESY_WhwqDWZPXOJwo,2695
|
|
93
93
|
chellow/reports/report_291.py,sha256=BnWtxe0eWN2QKKWpwjs5-RI5LbReBKL119QbkrkNhV8,7478
|
|
94
94
|
chellow/reports/report_33.py,sha256=lt1EN_LNx6u-AgdaS3YRkPMZA33JgMcELolHF4oJUMw,16689
|
|
@@ -385,6 +385,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
385
385
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
386
386
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
387
387
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
388
|
-
chellow-
|
|
389
|
-
chellow-
|
|
390
|
-
chellow-
|
|
388
|
+
chellow-1751980348.0.0.dist-info/METADATA,sha256=cQNBuWTEa9-hyJkd1XVznNi0ItxpmbWKgYp3PB6V2qY,12585
|
|
389
|
+
chellow-1751980348.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
390
|
+
chellow-1751980348.0.0.dist-info/RECORD,,
|
|
File without changes
|