tessl install tessl/pypi-pygsheets@2.0.0Google Spreadsheets Python API v4
Agent Success
Agent success rate when using this tile
76%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.23x
Baseline
Agent success rate without this tile
62%
Prepare a helper that stages multiple worksheet layout changes offline, then applies them in a single commit to minimize network calls.
@generates
from typing import Sequence, Any
class WorksheetLayoutPlanner:
def __init__(self, sheet: Any):
"""Initialize in staging mode against the provided worksheet handle without issuing network calls."""
def queue_layout(self, headers: Sequence[str], rows: Sequence[Sequence[Any]], column_widths: Sequence[int], freeze_rows: int = 1) -> None:
"""Queue merges, freezes, column widths, and value placement for the provided data without applying them yet."""
def commit(self) -> None:
"""Apply all staged structural and value updates to the live worksheet in a single sync."""
def cancel(self) -> None:
"""Drop any staged changes so the worksheet remains unchanged."""Provides worksheet staging and bulk update support. @satisfied-by