List member time series of subscription
- async AsyncCogniteClient.time_series.subscriptions.list_member_time_series(
- external_id: str,
- limit: int | None = 25,
List time series in a subscription.
Retrieve a list of time series (IDs) that the subscription is currently retrieving updates from
- Parameters:
external_id (str) – External ID of the subscription to retrieve members of.
limit (int | None) – Maximum number of time series to return. Defaults to 25. Set to -1, float(“inf”) or None to return all items.
- Returns:
List of time series in the subscription.
- Return type:
Examples
List time series in a subscription:
>>> from cognite.client import CogniteClient >>> from cognite.client.data_classes import DataPointSubscriptionUpdate >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> members = client.time_series.subscriptions.list_member_time_series("my_subscription") >>> timeseries_external_ids = members.as_external_ids()