diff --git a/lightpanda/_serve.py b/lightpanda/_serve.py index c5ba80c..39e6cdd 100644 --- a/lightpanda/_serve.py +++ b/lightpanda/_serve.py @@ -108,14 +108,9 @@ def __init__( args: Sequence[str] = (), port: int | None = None, ): - """Prepare the facade; the process is spawned by :meth:`start`. + """Store the settings; the process is spawned by :meth:`start`. - Args: - binary: Forwarded to the sync class. - env: Forwarded to the sync class. - verbose: Forwarded to the sync class. - args: Forwarded to the sync class. - port: Forwarded to the sync class. + Arguments are forwarded to the sync class. """ self._kwargs = dict(binary=binary, env=env, verbose=verbose, args=args, port=port) self._server: _S | None = None diff --git a/lightpanda/async_browser.py b/lightpanda/async_browser.py index 5909560..3b45fb5 100644 --- a/lightpanda/async_browser.py +++ b/lightpanda/async_browser.py @@ -85,14 +85,12 @@ def __init__( args: Sequence[str] = (), max_concurrency: int = 32, ): - """Prepare the facade; the process is spawned by :meth:`start`. + """Store the settings; the process is spawned by :meth:`start`. + + ``binary``, ``env``, ``timeout``, ``verbose`` and ``args`` are + forwarded to :class:`Browser`. Args: - binary: Forwarded to :class:`Browser`. - env: Forwarded to :class:`Browser`. - timeout: Forwarded to :class:`Browser`. - verbose: Forwarded to :class:`Browser`. - args: Forwarded to :class:`Browser`. max_concurrency: Caps the tool calls executing concurrently across this browser's sessions; worker threads are created lazily.