Skip to content

Commit

Permalink
fix: Removed unnecessary None check
Browse files Browse the repository at this point in the history
  • Loading branch information
abulvenz committed Sep 5, 2024
1 parent 5015a0c commit 420d0f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions reflex/ivars/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,6 @@ def pluck(self, field: StringVar | str) -> ArrayVar:
Returns:
The array pluck operation.
"""
if field is None:
return self
return array_pluck_operation(self, field)

def __mul__(self, other: NumberVar | int) -> ArrayVar[ARRAY_VAR_TYPE]:
Expand Down

0 comments on commit 420d0f1

Please sign in to comment.