File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ def subscribe_xpaths(
216
216
sample_interval = Client ._NS_IN_S * 10 ,
217
217
suppress_redundant = False ,
218
218
heartbeat_interval = None ,
219
+ prefix = None ,
219
220
):
220
221
"""A convenience wrapper of subscribe() which aids in building of SubscriptionRequest
221
222
with request as subscribe SubscriptionList. This method accepts an iterable of simply xpath strings,
@@ -254,6 +255,8 @@ def subscribe_xpaths(
254
255
Specifies the maximum allowable silent period in nanoseconds when
255
256
suppress_redundant is in use. The target should send a value at least once
256
257
in the period specified.
258
+ prefix: proto.Path, optional
259
+ Prefix path that can be used as a general path to prepend to all Path elements. (not supported on NX)
257
260
258
261
Returns
259
262
-------
@@ -294,6 +297,7 @@ def subscribe_xpaths(
294
297
sample_interval ,
295
298
suppress_redundant ,
296
299
heartbeat_interval ,
300
+ prefix ,
297
301
)
298
302
299
303
@classmethod
You can’t perform that action at this time.
0 commit comments