chellow 1714144053.0.0__py3-none-any.whl → 1714147861.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/mdd_importer.py CHANGED
@@ -57,7 +57,13 @@ def parse_bool(bool_str):
57
57
  return bool_str == "T"
58
58
 
59
59
 
60
- VOLTAGE_MAP = {"24": {"602": {to_utc(ct_datetime(2010, 4, 1)): "LV"}}}
60
+ VOLTAGE_MAP = {
61
+ "24": {"602": {to_utc(ct_datetime(2010, 4, 1)): "LV"}},
62
+ "22": {
63
+ "793": {to_utc(ct_datetime(2012, 7, 13)): "EHV"},
64
+ "811": {to_utc(ct_datetime(2012, 7, 13)): "EHV"},
65
+ },
66
+ }
61
67
 
62
68
 
63
69
  def _import_Clock_Interval(sess, rows, ctx):
@@ -24,9 +24,9 @@ from chellow.models import (
24
24
  GeneratorType,
25
25
  MeasurementRequirement,
26
26
  MtcParticipant,
27
+ RSession,
27
28
  ReadType,
28
29
  RegisterRead,
29
- Session,
30
30
  SiteEra,
31
31
  Supply,
32
32
  User,
@@ -47,7 +47,7 @@ from chellow.views import chellow_redirect
47
47
 
48
48
  def content(user_id, date, supply_id, mpan_cores):
49
49
  try:
50
- with Session() as sess:
50
+ with RSession() as sess:
51
51
  user = User.get_by_id(sess, user_id)
52
52
  f = open_file("supplies_snapshot.csv", user, mode="w", newline="")
53
53
  _process(sess, f, date, supply_id, mpan_cores)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1714144053.0.0
3
+ Version: 1714147861.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)
@@ -30,7 +30,7 @@ chellow/e/hh_parser_df2.py,sha256=ynNNRMpLm9qs23tJjfm0vGSaAduXfPMw_7-WfQHXliQ,42
30
30
  chellow/e/hh_parser_simple_csv.py,sha256=RN4QOLvTQeoPrpvXvQ9hkOBZnR5piybLfjCiSJdjpjs,2112
31
31
  chellow/e/laf_import.py,sha256=aqkcbjnvfBPszBLSNg6getP7iW1uWiTVHy6N5Z5x39U,5514
32
32
  chellow/e/lcc.py,sha256=OkpynN8_iAdHRlu-yyU6BhRUqYYOZsUnl0HbHULYo_4,4670
33
- chellow/e/mdd_importer.py,sha256=9GN-at0DC3vOjd-0N2U856O3hInnjkMWWcRfxzQ5DjA,32042
33
+ chellow/e/mdd_importer.py,sha256=n9YMR1XD8Wm_5vHo-pydpoLJKRhUds_TcqELGxujcvg,32184
34
34
  chellow/e/rcrc.py,sha256=92CA1uIotIHd1epQ_jEPdJKzXqDFV-AoJOJeRO6MEyA,4274
35
35
  chellow/e/ro.py,sha256=dZKZv_9wXSWuwcb3jiKavoD_9ot-PZseNVeEEe0siLo,596
36
36
  chellow/e/scenario.py,sha256=1tUxnvwTzr6cKqiw2wphdv5XDzV6JO6UVYkyQa67vHs,23263
@@ -79,7 +79,7 @@ chellow/reports/report_241.py,sha256=AlFmSHnfG2HWv_ICmWX7fNpPwLHjq7mo1QtOTjSKO3k
79
79
  chellow/reports/report_247.py,sha256=ozgCcee8XeqYbOpZCyU2STJKaz6h2x7TYQogagTaYLw,46626
80
80
  chellow/reports/report_29.py,sha256=KDFjgrLBv4WbG9efCdu_geMR7gT_QV9N97Wfdt7aDc4,2736
81
81
  chellow/reports/report_291.py,sha256=rqBXy6s7hMeYWw-yNX6w_L5t2yz6rNEeos_4xO7wf90,7519
82
- chellow/reports/report_33.py,sha256=3WXPN0xV6PGMKY_Oc5bKR84JuiXirYlYdrghqIgYY_s,16675
82
+ chellow/reports/report_33.py,sha256=O-7vsNcSyY_bErtm7NA-yYBsrjRFdBULsRe_SbE8XJk,16677
83
83
  chellow/reports/report_387.py,sha256=KcClrEOK5IRvePp0Jgbzs1Gwf-_CqYmEtFFlXrr_Z3E,5670
84
84
  chellow/reports/report_41.py,sha256=QQeTshA1Og7N3wPaoZ8ynJzwsvZ1mgSFc7DDkVqIZoM,7447
85
85
  chellow/reports/report_429.py,sha256=0GCc0rQnOSG0fusw69yMMOCxnWApBd3P2sGWIg1py9M,12359
@@ -363,6 +363,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
363
363
  chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
364
364
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
365
365
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
366
- chellow-1714144053.0.0.dist-info/METADATA,sha256=KpfLn5dgRiAa_WjzWhXquTVs4XQwkQ53MdgTMrC_osI,12205
367
- chellow-1714144053.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
- chellow-1714144053.0.0.dist-info/RECORD,,
366
+ chellow-1714147861.0.0.dist-info/METADATA,sha256=5C8hd9kfNlbmTRZpqdQDR8ViJG0kTJF2Xxwuy_xhh6w,12205
367
+ chellow-1714147861.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
+ chellow-1714147861.0.0.dist-info/RECORD,,