Skip to content

Commit 61ea742

Browse files
Apply suggestions from code review
1 parent 47174e9 commit 61ea742

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dash/_grouping.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def flatten_grouping(grouping, schema=None):
3131
"""
3232
stack = []
3333
result = []
34-
pushed_validate = False
3534

3635
# Avoid repeated recursive Python calls by using an explicit stack
3736
push = stack.append
@@ -42,7 +41,6 @@ def flatten_grouping(grouping, schema=None):
4241
schema = grouping
4342
else:
4443
validate_grouping(grouping, schema)
45-
pushed_validate = True # Just for clarity; not strictly necessary
4644

4745
push((grouping, schema))
4846
while stack:

0 commit comments

Comments
 (0)