This commit is contained in:
2026-05-05 00:56:05 +03:30
parent 21b734f6a7
commit cfe60f6729
85 changed files with 1786 additions and 3840 deletions
+2
View File
@@ -11,6 +11,7 @@ from crop_zoning.services import (
)
from external_api_adapter import request as external_api_request
from external_api_adapter.exceptions import ExternalAPIRequestError
from plants.services import push_plants_to_ai
logger = logging.getLogger(__name__)
@@ -65,6 +66,7 @@ def sync_farm_data(
plant_ids=None,
irrigation_method_id=None,
):
push_plants_to_ai()
request_payload = {
"farm_uuid": str(farm.farm_uuid),
"farm_boundary": _extract_boundary_geometry(area_feature, farm=farm),