Skip to content
Prev Previous commit
Next Next commit
fix entity_df range
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
Vperiodt committed Apr 10, 2026
commit f770c41c065651ba441287664d262fe41da5e973
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def get_historical_features(
# min_event_timestamp (= range[0] - TTL) doesn't clip the window.
# The synthetic entity_df only has end_date, which would wrongly
# set min_event_timestamp to end_date - TTL instead of start_date - TTL.
if start_date is not None and end_date is not None:
if skip_entity_upload and start_date is not None and end_date is not None:
entity_df_event_timestamp_range = (start_date, end_date)
else:
entity_df_event_timestamp_range = _get_entity_df_event_timestamp_range(
Expand Down