Skip to content

Commit f5bbab4

Browse files
author
Shammamah Hossain
committed
Remove unnecessary '.keys()'.
1 parent 9271f5b commit f5bbab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/development/_py_components_generation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def parse_wildcards(props):
293293
"""
294294
list_of_valid_wildcard_attr_prefixes = []
295295
for wildcard_attr in ["data-*", "aria-*"]:
296-
if wildcard_attr in props.keys():
296+
if wildcard_attr in props:
297297
list_of_valid_wildcard_attr_prefixes.append(wildcard_attr[:-1])
298298
return list_of_valid_wildcard_attr_prefixes
299299

0 commit comments

Comments
 (0)