You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Generate a Planetary Variable subscription source.
564
559
565
-
Planetary Variables come in 4 types and are further subdivided
566
-
within these types. See [Subscribing to Planetary Variables](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
567
-
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) for
568
-
more details.
560
+
See [Subscribing to Planetary Variables](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
561
+
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) to learn more about Planetary Variable product options.
Copy file name to clipboardExpand all lines: planet/subscription_request.py
+2-11Lines changed: 2 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -273,28 +273,22 @@ def catalog_source(
273
273
274
274
275
275
defplanetary_variable_source(
276
-
var_type: Optional[str],
277
276
var_id: str,
278
277
geometry: Union[dict, str],
279
278
start_time: datetime,
280
279
end_time: Optional[datetime] =None,
281
280
) ->dict:
282
281
"""Construct a Planetary Variable subscription source.
283
282
284
-
Planetary Variables come in 4 types and are further subdivided
285
-
within these types. See [Subscribing to Planetary Variables](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
286
-
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) for
287
-
more details.
283
+
See [Subscribing to Planetary Variables](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
284
+
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) to learn more about Planetary Variable product options.
288
285
289
286
The return value can be passed to
290
287
[planet.subscription_request.build_request][].
291
288
292
289
Note: this function does not validate variable types and ids.
293
290
294
291
Parameters:
295
-
var_type: Planetary Variable type. See documentation for all
296
-
available types. Used to be a required parameter but
297
-
is now optional and can be 'None'.
298
292
var_id: A Planetary Variable ID. See documenation for all
299
293
available IDs.
300
294
geometry: The area of interest of the subscription that will be
0 commit comments