Skip to content

Commit 47b7af9

Browse files
committed
lint again
1 parent d7698f1 commit 47b7af9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dash/_callback_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def display(btn1, btn2):
154154
def update_args_grouping(g):
155155
if isinstance(g, dict) and "id" in g:
156156
str_id = stringify_id(g["id"])
157-
prop_id = "{}.{}".format(str_id, g["property"])
157+
prop_id = f"{str_id}.{g['propery']}"
158158

159159
new_values = {
160160
"value": g.get("value"),

dash/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def first(self, *names):
119119
value = self.get(name)
120120
if value:
121121
return value
122-
if names == ():
122+
if not names:
123123
return next(iter(self), {})
124124

125125

0 commit comments

Comments
 (0)