Skip to content

Commit 88e76c2

Browse files
charceyCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent f0c4d5b commit 88e76c2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

planet/subscription_request.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ def catalog_source(
197197
publishing_stages: A sequence of one or more of the values
198198
"preview", "standard", or "finalized".
199199
time_range_type: "acquired" (new in 2.1.0) or "published".
200-
geometry_relation: The relationship between the subscription geometry and the item geometry. Intersects (default): Returns
201-
items whose footprint geometry partially or fully overlaps with the subscription geometry.
202-
Contains: Returns items where the footprint geometry fully encloses the AOI.
203-
Within: Returns items whose entire footprint geometry is fully contained within the AOI.
200+
geometry_relation: The relationship between the subscription geometry and the item geometry.
201+
'intersects' (default): Returns items whose footprint geometry partially or fully overlaps with the subscription geometry.
202+
'contains': Returns items where the footprint geometry fully encloses the AOI.
203+
'within': Returns items whose entire footprint geometry is fully contained within the AOI.
204204
205205
Returns:
206206
dict: a representation of a subscription source.

tests/integration/test_subscriptions_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def test_catalog_source_geometry_relation(mock_bundles,
493493
invoke,
494494
geom_geojson,
495495
geometry_relation):
496-
"""Catalog source time range type is configured."""
496+
"""Catalog source geometry relation is configured."""
497497
result = invoke([
498498
'request-catalog',
499499
'--item-types=PSScene',

0 commit comments

Comments
 (0)