SIENTIAPDE-1445

Refactor condition in core_scouter.py for improved readability

- Simplified the condition checking for affected rows in the data export logic by removing unnecessary whitespace.
This commit is contained in:
vitor-aignosi
2025-12-22 14:23:30 -03:00
parent 90d543f810
commit d3945692d0

View File

@@ -117,7 +117,7 @@ class CoreScouter:
start_to_close_timeout=timedelta(seconds=60), start_to_close_timeout=timedelta(seconds=60),
) )
if data_exported.get('affected_rows', 0 ) <= 0: if data_exported.get('affected_rows', 0) <= 0:
return return
await workflow.execute_activity_method( await workflow.execute_activity_method(