add validation to data

This commit is contained in:
2026-01-14 17:49:58 -03:00
parent 091499399f
commit d893114e38
5 changed files with 118 additions and 33 deletions

View File

@@ -199,7 +199,6 @@ def _set_status_as_completed(
start_dt=now_,
days=cert_exp_interval - dedup_window_offset_days,
)
transact.put(
item={
'id': id,
@@ -309,14 +308,6 @@ def _set_status_as_failed(
},
exc_cls=EnrollmentConflictError,
)
transact.put(
item={
'id': id,
'sk': 'FAILED',
'created_at': now_,
},
cond_expr='attribute_not_exists(sk)',
)
# Remove reminders and events that no longer apply
transact.delete(
key=KeyPair(