Refactor sheet operations and update documentation

- Improve `copy_range_operation` with more robust error handling and style copying
- Enhance `delete_range_operation` with shift direction support
- Update README with Cursor IDE connection instructions
- Remove unnecessary parameters from `create_pivot_table`
- Improve logging and error validation in sheet operations
This commit is contained in:
Haris Musa
2025-02-16 23:12:24 +05:00
committed by Haris
parent 4e82b8a7b2
commit 99ac29915a
3 changed files with 70 additions and 37 deletions

View File

@ -285,7 +285,6 @@ def create_pivot_table(
filepath: str,
sheet_name: str,
data_range: str,
target_cell: str,
rows: List[str],
values: List[str],
columns: List[str] = None,
@ -298,7 +297,6 @@ def create_pivot_table(
filepath=full_path,
sheet_name=sheet_name,
data_range=data_range,
target_cell=target_cell,
rows=rows,
values=values,
columns=columns or [],