chellow 1761649144.0.0__py3-none-any.whl → 1761924789.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/e/views.py +2 -1
- chellow/general_import.py +5 -0
- {chellow-1761649144.0.0.dist-info → chellow-1761924789.0.0.dist-info}/METADATA +1 -1
- {chellow-1761649144.0.0.dist-info → chellow-1761924789.0.0.dist-info}/RECORD +5 -5
- {chellow-1761649144.0.0.dist-info → chellow-1761924789.0.0.dist-info}/WHEEL +0 -0
chellow/e/views.py
CHANGED
|
@@ -104,6 +104,7 @@ from chellow.utils import (
|
|
|
104
104
|
hh_range,
|
|
105
105
|
parse_hh_start,
|
|
106
106
|
parse_mpan_core,
|
|
107
|
+
req_bool,
|
|
107
108
|
req_checkbox,
|
|
108
109
|
req_date,
|
|
109
110
|
req_decimal,
|
|
@@ -6211,7 +6212,7 @@ def supply_get(supply_id):
|
|
|
6211
6212
|
def supply_months_get(supply_id):
|
|
6212
6213
|
supply = Supply.get_by_id(g.sess, supply_id)
|
|
6213
6214
|
|
|
6214
|
-
is_import =
|
|
6215
|
+
is_import = req_bool("is_import")
|
|
6215
6216
|
year = req_int("year")
|
|
6216
6217
|
years = req_int("years")
|
|
6217
6218
|
|
chellow/general_import.py
CHANGED
|
@@ -1006,6 +1006,11 @@ def general_import_bill(sess, action, vals, args):
|
|
|
1006
1006
|
breakdown,
|
|
1007
1007
|
)
|
|
1008
1008
|
i += 6
|
|
1009
|
+
else:
|
|
1010
|
+
raise BadRequest(
|
|
1011
|
+
f"The type must be 'read' or 'element', but found {typ} at "
|
|
1012
|
+
f"column {i}."
|
|
1013
|
+
)
|
|
1009
1014
|
|
|
1010
1015
|
elif action == "update":
|
|
1011
1016
|
bill_id_str = add_arg(args, "Bill Id", vals, 0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1761924789.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)
|
|
@@ -4,7 +4,7 @@ chellow/bank_holidays.py,sha256=T_utYMwe_g1dz5X-aOTdIPryg49SvB7QsWM1yphlqG8,4423
|
|
|
4
4
|
chellow/dloads.py,sha256=sNAPMe4LeHqfisEubGXvraDsUS0F-ujI3WG0Md8DywM,5565
|
|
5
5
|
chellow/edi_lib.py,sha256=Lq70TUJuogoP5KGrphzUEUfyfgftEclg_iA3mpNAaDI,51324
|
|
6
6
|
chellow/fake_batch_updater.py,sha256=khAmvSUn9qN04w8C92kRg1UeyQvfLztE7QXv9tUz6nE,11611
|
|
7
|
-
chellow/general_import.py,sha256=
|
|
7
|
+
chellow/general_import.py,sha256=A59qj32G5wvA8vBrHKqZhOjX7fHCejL7ZAfiHBxxQug,69386
|
|
8
8
|
chellow/models.py,sha256=Ws3-jP6x3bSrCmv1umbviaQ3SijpP4R_a6i2Go26gRM,247072
|
|
9
9
|
chellow/national_grid.py,sha256=-c_vqNRtpNIQOcm0F1NDhS3_QUiOaLgEJYWzysSNc5Y,4369
|
|
10
10
|
chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
|
|
@@ -44,7 +44,7 @@ chellow/e/system_price.py,sha256=6w5J7bzwFAZubE2zdOFRiS8IIrVP8hkoIOaG2yCt-Ic,623
|
|
|
44
44
|
chellow/e/tlms.py,sha256=pyL32hPiYd09FbpXVMnBjHsWFEQHs-Az945V7EShGiY,9116
|
|
45
45
|
chellow/e/tnuos.py,sha256=NBmc-f3oezrl4gviAKobljHfICTpBKxxxEGBGJi_lRk,4927
|
|
46
46
|
chellow/e/triad.py,sha256=uQIngSrz8irBXQ0Rp_s8nAUzu-y2Ms7aj4B38_Ff8y8,13720
|
|
47
|
-
chellow/e/views.py,sha256=
|
|
47
|
+
chellow/e/views.py,sha256=S3edIBtYIBbBXmiWOgJnNZRIYJQSB5Z5WX2KP6vtmoU,235266
|
|
48
48
|
chellow/e/bill_parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
49
|
chellow/e/bill_parsers/activity_mop_stark_xlsx.py,sha256=hcbjxqLOe7qkDjS7enCpmfyGwm3d-pq3u5VQIaUmVTw,3796
|
|
50
50
|
chellow/e/bill_parsers/annual_mop_stark_xlsx.py,sha256=yoEGQS0qcrv3TWFfxELIIi8f1CyKcIzh0xVaPoz2w2s,4191
|
|
@@ -400,6 +400,6 @@ chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBe
|
|
|
400
400
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
401
401
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
402
402
|
chellow/templates/reports/channel_snags.html,sha256=_aAgFgMlTkK2HuKFU8YisAIcUYfg6Hqhgyf5MZpdK8c,2629
|
|
403
|
-
chellow-
|
|
404
|
-
chellow-
|
|
405
|
-
chellow-
|
|
403
|
+
chellow-1761924789.0.0.dist-info/METADATA,sha256=HXRp_UHCZByJrRmt2yb68OdTq4dgjBlPNwnUArgEb1o,12428
|
|
404
|
+
chellow-1761924789.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
405
|
+
chellow-1761924789.0.0.dist-info/RECORD,,
|
|
File without changes
|