File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,15 @@ async def cli_device(hostname):
248
248
249
249
250
250
def run_devices (max_concurrent_devices = None ):
251
- """Run device polling - main entry point."""
251
+ """Run device polling - main entry point.
252
+
253
+ Args:
254
+ max_concurrent_devices (int, optional): Maximum number of devices to
255
+ poll concurrently. If None, uses config.agent_subprocesses().
256
+
257
+ Returns:
258
+ None
259
+ """
252
260
# Use config if not specified
253
261
if max_concurrent_devices is None :
254
262
config = ConfigPoller ()
@@ -258,5 +266,12 @@ def run_devices(max_concurrent_devices=None):
258
266
259
267
260
268
def run_cli_device (hostname ):
261
- """Run CLI device polling - main entry point."""
269
+ """Run CLI device polling - main entry point.
270
+
271
+ Args:
272
+ hostname (str): The hostname of the device to poll.
273
+
274
+ Returns:
275
+ None
276
+ """
262
277
asyncio .run (cli_device (hostname ))
You can’t perform that action at this time.
0 commit comments