Subscribe to receive events when tags in the selection are written to.
Updates will be queried from the server using the specified or default update
The subscription will include any tags that are currently included in the
selection when the subscription is created. That list can be seen via the
metadata property. The subscription will also attempt to include any
non-wildcard paths that are in the selection’s current list of
Often, the list of
paths directly coincides with the
but the former may contain paths that did not exist when the selection’s
metadata was last updated from the server, e.g. via
Closing, adding tags, or removing tags from the selection will not affect
previously created subscriptions.
datetime.timedelta]) – How often to receive tag updates notifications from the
server. Default is
- Return type
The created subscription.
ValueError – if update_interval is negative.
ReferenceError – if the selection has been closed.
ApiException – if the API call fails.