From 804af59e68b8d43781215bd936d1f6de0aeb2809 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 16:46:16 +0000 Subject: [PATCH 1/2] Initial plan From 3c87863b0d3a0b5527fbe33a626f65058337285b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 16:50:47 +0000 Subject: [PATCH 2/2] Use DEFAULT_DESTINATION_REF constant in order_request.py Co-authored-by: asonnenschein <3228909+asonnenschein@users.noreply.github.com> --- planet/order_request.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/planet/order_request.py b/planet/order_request.py index 02780b25..512fb0c7 100644 --- a/planet/order_request.py +++ b/planet/order_request.py @@ -18,6 +18,7 @@ from typing import Any, Dict, List, Mapping, Optional, Union from . import geojson, specs +from .clients.destinations import DEFAULT_DESTINATION_REF from .exceptions import ClientError LOGGER = logging.getLogger(__name__) @@ -414,7 +415,7 @@ def default_destination(path_prefix: Optional[str] = None) -> dict: Parameters: path_prefix: Path prefix for deliveries. """ - parameters: Dict[str, Any] = {'ref': 'pl:destinations/default'} + parameters: Dict[str, Any] = {'ref': DEFAULT_DESTINATION_REF} if path_prefix: parameters['path_prefix'] = path_prefix