Skip to content

Commit

Permalink
dang it darglint
Browse files Browse the repository at this point in the history
  • Loading branch information
adhami3310 committed Jul 23, 2024
1 parent ea3c99e commit 9df7612
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions reflex/experimental/vars/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,7 @@ def __init__(
Args:
a: The string.
start: The start index.
end: The end index.
_slice: The slice.
_var_data: Additional hooks and imports associated with the Var.
"""
super(StringSliceOperation, self).__init__(
Expand All @@ -453,11 +452,11 @@ def __init__(
def _cached_var_name(self) -> str:
"""The name of the var.
Raises:
ValueError: If the slice step is zero.
Returns:
The name of the var.
Raises:
ValueError: If the slice step is zero.
"""
start, end, step = self._slice.start, self._slice.stop, self._slice.step

Expand Down

0 comments on commit 9df7612

Please sign in to comment.