diff --git a/src/lfx/src/lfx/components/triggers/cron_trigger.py b/src/lfx/src/lfx/components/triggers/cron_trigger.py index d73a107fb1..fdd255ae45 100644 --- a/src/lfx/src/lfx/components/triggers/cron_trigger.py +++ b/src/lfx/src/lfx/components/triggers/cron_trigger.py @@ -30,6 +30,13 @@ from __future__ import annotations from datetime import datetime, timezone +from lfx.components.triggers.constants import ( + COMMON_TIMEZONES, + DEFAULT_CRON_EXPRESSION, + DEFAULT_MAX_ATTEMPTS, + DEFAULT_TIMEZONE, + MAX_ATTEMPTS_LIMIT, +) from lfx.custom.custom_component.component import Component from lfx.field_typing.range_spec import RangeSpec from lfx.io import ( @@ -41,14 +48,6 @@ from lfx.io import ( ) from lfx.schema.message import Message -from .constants import ( - COMMON_TIMEZONES, - DEFAULT_CRON_EXPRESSION, - DEFAULT_MAX_ATTEMPTS, - DEFAULT_TIMEZONE, - MAX_ATTEMPTS_LIMIT, -) - class CronTriggerComponent(Component): display_name = "Cron Trigger"