Skip to content

Commit d8dbc7d

Browse files
committed
docstring ci fix
1 parent fbfd33c commit d8dbc7d

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

switchmap/poller/async_poll.py

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,15 @@ async def cli_device(hostname):
248248

249249

250250
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+
"""
252260
# Use config if not specified
253261
if max_concurrent_devices is None:
254262
config = ConfigPoller()
@@ -258,5 +266,12 @@ def run_devices(max_concurrent_devices=None):
258266

259267

260268
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+
"""
262277
asyncio.run(cli_device(hostname))

0 commit comments

Comments
 (0)