File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ report:
30
30
reason : We cannot currently use SQL Alchemy v2.
31
31
expires : ' 2024-12-12'
32
32
70612 :
33
- reason : No known fix for jinja2==3.1.4 .
33
+ reason : We do not use untrusted templates that would require the from_string() method .
34
34
expires : ' 2024-12-12'
35
35
36
36
Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ def get_approvals(sub_id: UUID) -> Select:
426
426
427
427
@db_select
428
428
def get_finance (sub_id : UUID ) -> Select :
429
- """Get all finance items."""
429
+ """Get all finance items for a subscription ."""
430
430
return (
431
431
select (
432
432
[
@@ -446,8 +446,7 @@ def get_finance(sub_id: UUID) -> Select:
446
446
447
447
@db_select
448
448
def get_costrecovery (sub_id : UUID ) -> Select :
449
- """Get all cost recovery items for a subscription in asc date order."""
450
- # order by month asc
449
+ """Get all cost recovery items for a subscription."""
451
450
return (
452
451
select (
453
452
[
@@ -466,7 +465,7 @@ def get_costrecovery(sub_id: UUID) -> Select:
466
465
467
466
@db_select
468
467
def get_usage (sub_id : UUID , target_date : datetime .datetime ) -> Select :
469
- """Get all of the usage items."""
468
+ """Get all usage items for a subscription ."""
470
469
return (
471
470
select (
472
471
[
You can’t perform that action at this time.
0 commit comments