Skip to content

Commit

Permalink
change type annotation for Python < 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Sep 24, 2024
1 parent d872ba4 commit f5a6360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2608,7 +2608,7 @@ def unmerge_cells(self, name: str) -> JSONResponse:

def batch_merge(
self,
merges: List[Dict[Literal["range", "mergeType"], Union[str | MergeType]]],
merges: List[Dict[Literal["range", "mergeType"], Union[str, MergeType]]],
merge_type: MergeType = MergeType.merge_all,
) -> Any:
"""Merge multiple ranges at the same time.
Expand Down

0 comments on commit f5a6360

Please sign in to comment.