Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use DEFAULT_DESTINATION_REF constant in order_request.py
Co-authored-by: asonnenschein <[email protected]>
  • Loading branch information
Copilot and asonnenschein committed Nov 12, 2025
commit 3c87863b0d3a0b5527fbe33a626f65058337285b
3 changes: 2 additions & 1 deletion planet/order_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -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
Expand Down