Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Add terminating
Browse files Browse the repository at this point in the history
  • Loading branch information
marcserrat committed Nov 14, 2022
1 parent 37c44dd commit fd3ed3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reports/ms_cooper/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def generate(
)
# For terminated, termination must be in last month

rql = R().status.eq('terminated') & R().product.id.oneof(PRODUCTS)
rql = R().status.oneof(['terminated', 'terminating']) & R().product.id.oneof(PRODUCTS)
rql &= R().events.updated.at.ge(start_day_of_prev_month)
rql &= R().events.updated.at.lt(last_day_of_prev_month)
sub_terminated = (
Expand Down

0 comments on commit fd3ed3e

Please sign in to comment.