Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.
Prev Previous commit
Next Next commit
improve type hint
  • Loading branch information
Henry J Solberg committed Nov 4, 2023
commit 96424c6b142b5a509f175d764444e969a65cd868
6 changes: 2 additions & 4 deletions bigframes/core/indexers.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,9 @@ def __getitem__(
def __setitem__(
self,
key: LocSingleKey,
value,
value: bigframes.core.scalar.Scalar,
):
if pd.api.types.is_list_like(value) or isinstance(
value, bigframes.series.Series
):
if not pd.api.types.is_scalar(value):
raise NotImplementedError(
"series.at.__setitem__ only supports scalar right-hand values. "
f"{constants.FEEDBACK_LINK}"
Expand Down