chellow 1723630623.0.0__py3-none-any.whl → 1723718933.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.

@@ -38,7 +38,7 @@
38
38
  <td>{{run.creator}}</td>
39
39
  <td>{{run.title}}</td>
40
40
  <td>{{run.state}}</td>
41
- <td>{{rows|length}}</td>
41
+ <td>{{rows|length}} (truncated at {{ROW_LIMIT}})</td>
42
42
  <td>
43
43
  {% if 'sum_difference' in summary %}
44
44
  {{"%.2f"|format(summary.sum_difference)}}</td>
chellow/views.py CHANGED
@@ -1341,12 +1341,12 @@ def report_run_get(run_id):
1341
1341
  q = q.filter(
1342
1342
  ReportRunRow.data["properties"]["is_checked"].as_boolean() == false()
1343
1343
  )
1344
-
1344
+ ROW_LIMIT = 200
1345
1345
  rows = (
1346
1346
  q.order_by(
1347
1347
  func.abs(ReportRunRow.data["values"][order_by].as_float()).desc()
1348
1348
  )
1349
- .limit(200)
1349
+ .limit(ROW_LIMIT)
1350
1350
  .all()
1351
1351
  )
1352
1352
  return render_template(
@@ -1357,6 +1357,7 @@ def report_run_get(run_id):
1357
1357
  elements=elements,
1358
1358
  element=element,
1359
1359
  hide_checked=hide_checked,
1360
+ ROW_LIMIT=ROW_LIMIT,
1360
1361
  )
1361
1362
 
1362
1363
  elif run.name == "asset_comparison":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1723630623.0.0
3
+ Version: 1723718933.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)
@@ -11,7 +11,7 @@ chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
11
11
  chellow/rate_server.py,sha256=fg-Pf_9Hk3bXmC9riPQNGQxBvLvBa_WtNYdwDCjnCSg,5678
12
12
  chellow/testing.py,sha256=Od4HHH6pZrhJ_De118_F55RJEKmAvhUH2S24QE9qFQk,3635
13
13
  chellow/utils.py,sha256=32qPWEGzCPKPhSM7ztpzcR6ZG74sVZanScDIdK50Rq4,19308
14
- chellow/views.py,sha256=nlX0JjJGTU8ydVFUK1d_oeexszOL3HIjZGouMRVg4Yc,79612
14
+ chellow/views.py,sha256=njFHK_sT9k5OQyAJoLUWGSzMiM5rLuusYjdmK0ijS3c,79674
15
15
  chellow/e/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  chellow/e/aahedc.py,sha256=d2usudp7KYWpU6Pk3fal5EQ47EbvkvKeaFGylnb3NWw,606
17
17
  chellow/e/bill_importer.py,sha256=7UcnqNlKbJc2GhW9gy8sDp9GuqambJVpZLvbafOZztA,7411
@@ -134,7 +134,7 @@ chellow/templates/object_summary.html,sha256=VGCAAYcWTzgNfL0mxEef2Fa8dP3FcBhzj0f
134
134
  chellow/templates/rate_server.html,sha256=SezuwdKhHRZ00-R_S6ttKiZ-nvRpwozV9QcIMf9StG8,5360
135
135
  chellow/templates/report_run.html,sha256=O_wjIu43S-mKVyZyku3dJJdvyck3rAgEdhw59TsCcK0,4040
136
136
  chellow/templates/report_run_asset_comparison.html,sha256=VYCCUmIC7Mfe7uuaAHb6ihiK6zsqeTlQbzgtzLqR3zg,2305
137
- chellow/templates/report_run_bill_check.html,sha256=yAVFBi0zdamnlRpO2VqKY3UAmAJchSjwSmrmaITLmEA,5055
137
+ chellow/templates/report_run_bill_check.html,sha256=H2ayoBL7EgKMq2Nwq5VjE_TNvcIKcqeCm0alQWLIw78,5084
138
138
  chellow/templates/report_run_ecoes_comparison.html,sha256=VmkT5ypWLP8qZS6NbDTC4yDaG7mnUlxZz7EV8xkHGZw,4086
139
139
  chellow/templates/report_run_row.html,sha256=bmtcdqJaS1CXpL0i8PuqvmeF98jKNYX5-mnQu-OuDKQ,3791
140
140
  chellow/templates/report_run_row_bill_check.html,sha256=aC2LMu_6NvmTN3ZdxHJPPPczyxPN6hg0F-PPcqIWUws,4683
@@ -365,6 +365,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
365
365
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
366
366
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
367
367
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
368
- chellow-1723630623.0.0.dist-info/METADATA,sha256=uO1r5mgkkgQ1MMmvsArp3l4hFOLWwvrTKbMx64XWh0U,12241
369
- chellow-1723630623.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
370
- chellow-1723630623.0.0.dist-info/RECORD,,
368
+ chellow-1723718933.0.0.dist-info/METADATA,sha256=Pj9x-7DgnxlbYYRG35DTxqJVuCQvUJZF4yAxLjM8i_k,12241
369
+ chellow-1723718933.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
370
+ chellow-1723718933.0.0.dist-info/RECORD,,