Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions lightpanda/_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions lightpanda/async_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading