Skip to content

Commit

Permalink
Fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMwangi21 committed Dec 18, 2024
1 parent 6576d9a commit b8f2958
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/planning/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from superdesk.core.resources.service import AsyncResourceService

from planning import types
from planning.common import TO_BE_CONFIRMED_FIELD
from planning.types import EventResourceModel, PlanningResourceModel, AssignmentResourceModel, BasePlanningModel
from planning.types import Event, Planning, PLANNING_RELATED_EVENT_LINK_TYPE, PlanningRelatedEventLink

Expand Down Expand Up @@ -255,6 +254,8 @@ def update_event_item_with_translations_value(event_item: Dict[str, Any], langua


def is_coverage_planning_modified(updates: dict[str, Any], original: dict[str, Any]):
from planning.common import TO_BE_CONFIRMED_FIELD

planning_updates = updates.get("planning", {})
planning_original = original.get("planning", {})

Expand Down

0 comments on commit b8f2958

Please sign in to comment.