chellow 1715270858.0.0__py3-none-any.whl → 1715329858.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/models.py CHANGED
@@ -3808,6 +3808,9 @@ METER_CATEGORY = {
3808
3808
  "2CF": "amr",
3809
3809
  "2CDF": "amr",
3810
3810
  "2CEF": "amr",
3811
+ "S2ADE": "amr",
3812
+ "S2BDE": "amr",
3813
+ "S2CD": "amr",
3811
3814
  }
3812
3815
 
3813
3816
 
@@ -6651,6 +6654,20 @@ def insert_dtc_meter_types(sess):
6651
6654
  ("2CF", "Polyphase with APC that is compliant with SMETS2"),
6652
6655
  ("2CDF", "Polyphase with ALCS and APC that is compliant with SMETS2"),
6653
6656
  ("2CEF", "Polyphase with Boost Function and APC that is compliant with SMETS2"),
6657
+ (
6658
+ "S2ADE",
6659
+ "Single element meter with one or more ALCS and Boost Function that is "
6660
+ "compliant with SMETS2",
6661
+ ),
6662
+ (
6663
+ "S2BDE",
6664
+ "A twin element meter with one or more ALCS and Boost Function that is "
6665
+ "compliant with SMETS2",
6666
+ ),
6667
+ (
6668
+ "S2CD",
6669
+ "A polyphase meter with one or more ALCS that is compliant with SMETS2",
6670
+ ),
6654
6671
  ):
6655
6672
  DtcMeterType.insert(sess, code, desc)
6656
6673
 
@@ -7434,6 +7451,26 @@ def db_upgrade_46_to_47(sess, root_path):
7434
7451
  sess.execute(text("alter table era drop column properties;"))
7435
7452
 
7436
7453
 
7454
+ def db_upgrade_47_to_48(sess, root_path):
7455
+ for code, desc in (
7456
+ (
7457
+ "S2ADE",
7458
+ "Single element meter with one or more ALCS and Boost Function that is "
7459
+ "compliant with SMETS2",
7460
+ ),
7461
+ (
7462
+ "S2BDE",
7463
+ "A twin element meter with one or more ALCS and Boost Function that is "
7464
+ "compliant with SMETS2",
7465
+ ),
7466
+ (
7467
+ "S2CD",
7468
+ "A polyphase meter with one or more ALCS that is compliant with SMETS2",
7469
+ ),
7470
+ ):
7471
+ DtcMeterType.insert(sess, code, desc)
7472
+
7473
+
7437
7474
  upgrade_funcs = [None] * 18
7438
7475
  upgrade_funcs.extend(
7439
7476
  [
@@ -7466,6 +7503,7 @@ upgrade_funcs.extend(
7466
7503
  db_upgrade_44_to_45,
7467
7504
  db_upgrade_45_to_46,
7468
7505
  db_upgrade_46_to_47,
7506
+ db_upgrade_47_to_48,
7469
7507
  ]
7470
7508
  )
7471
7509
 
@@ -540,7 +540,6 @@ def _process(
540
540
  values["chellow_era_id"] = chellow_era_id
541
541
  report_run.insert_row(sess, "", titles, values, {})
542
542
  sess.commit()
543
- sess.expunge_all()
544
543
 
545
544
  for mpan_core in mpans:
546
545
  supply = Supply.get_by_mpan_core(sess, mpan_core)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1715270858.0.0
3
+ Version: 1715329858.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)
@@ -5,7 +5,7 @@ chellow/commands.py,sha256=ESBe9ZWj1c3vdZgqMZ9gFvYAB3hRag2R1PzOwuw9yFo,1302
5
5
  chellow/dloads.py,sha256=5SmP-0QPK6xCkd_wjIWh_8FAzN5OxNHCzyEQ1Xb-Y-M,5256
6
6
  chellow/edi_lib.py,sha256=het3R0DBGtXEo-Sy1zvXQuX9EWQ1X6Y33G4l1hYYuds,51859
7
7
  chellow/general_import.py,sha256=l3EHq9zG9Vfl5Ee6XTVrC1nusXo4YGGB4VBmZ_JaJR8,65798
8
- chellow/models.py,sha256=Rq_ARe-MI73kalTW3Kpas-mTBdjFjBtaqSRAAn3SMzU,241085
8
+ chellow/models.py,sha256=2YSRKOt89mgawuz1CV02FsjLi5ue9Np38PGOIS-yoc4,242202
9
9
  chellow/national_grid.py,sha256=uxcv0qisHPyzw9AVIYPzsRqwt2XPAcZL-SBR12qcrS0,4364
10
10
  chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
11
11
  chellow/rate_server.py,sha256=fg-Pf_9Hk3bXmC9riPQNGQxBvLvBa_WtNYdwDCjnCSg,5678
@@ -92,7 +92,7 @@ chellow/reports/report_bills.py,sha256=AHW6tiZAOE0gXDfencPvemE4zqK6eTqfN8_bWQ4RT
92
92
  chellow/reports/report_csv_llfcs.py,sha256=OHSbP64lQ6dlAMcQYgvdANlA4lQyF0iBlwk7V9c9nuo,1944
93
93
  chellow/reports/report_csv_site_hh_data.py,sha256=T-clGDmYdn0ej7zZfL3kDp4Vyd82WzptxEzxx9KqAZg,4270
94
94
  chellow/reports/report_csv_site_snags.py,sha256=gG2sYQrLoIBwCoMUC8rhmAL7Kffh_rvNb9UOX7cYDko,2668
95
- chellow/reports/report_ecoes_comparison.py,sha256=s6d69cORezon-h3RmgewT8_cMpLrpMElmP2TnT-y7yY,21743
95
+ chellow/reports/report_ecoes_comparison.py,sha256=mInFX4UmrPnjO-nLarqrCmyLx6O0wlCd94AUN2JlqZQ,21716
96
96
  chellow/reports/report_g_monthly_duration.py,sha256=vI5FKAU8_oThjR5oflPZont7Z7sVAunr0qlMfJsaPJI,12004
97
97
  chellow/reports/report_g_supplies_snapshot.py,sha256=0M0x_0o0985Hu45gUJJJwzfx0DDOAuXBJ1UVUDbQ36g,4718
98
98
  chellow/reports/report_g_supply_virtual_bill.py,sha256=x_KtQ02dwgmXvAEUXJ1poK0BRwqxa-GcbJ5pddEina0,3694
@@ -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-1715270858.0.0.dist-info/METADATA,sha256=7pXnjJTkxqCx_uY6SmT4duXmX6nnZVNVIhhx9Bm8vyE,12205
367
- chellow-1715270858.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
- chellow-1715270858.0.0.dist-info/RECORD,,
366
+ chellow-1715329858.0.0.dist-info/METADATA,sha256=BQZ9tHpLeOFjIHah8sWynsNdPnzLkwfnXQPYiBVjBN4,12205
367
+ chellow-1715329858.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
+ chellow-1715329858.0.0.dist-info/RECORD,,