Skip to content
Snippets Groups Projects
Commit a66741e7 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Rename validate_products to validate_geant_products in a helper method

parent 372040a5
No related branches found
No related tags found
1 merge request!239Feature/send validation emails
......@@ -192,13 +192,13 @@ def get_active_subscriptions_by_field_and_value(field_name: str, field_value: st
def count_incomplete_validate_products() -> int:
"""Count the number of incomplete validate_products processes.
"""Count the number of incomplete validate_geant_products processes.
:return: The count of incomplete 'validate_products' processes.
:return: The count of incomplete 'validate_geant_products' processes.
:rtype: int
"""
return ProcessTable.query.filter(
ProcessTable.workflow_name == "validate_products",
ProcessTable.workflow_name == "validate_geant_products",
ProcessTable.last_status != "completed",
).count()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment