Skip to content

Commit d57134b

Browse files
committed
reuse hashing
1 parent 00baa48 commit d57134b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,14 @@ def _concat(x):
147147
_id = x.component_id_str().replace(".", "\\.") + "." + x.component_property
148148
if x.allow_duplicate:
149149
if not hashed_inputs:
150-
hashed_inputs = _hash_inputs
150+
hashed_inputs = _hash_inputs()
151151
# Actually adds on the property part.
152152
_id += f"@{hashed_inputs}"
153153
return _id
154154

155155
if no_output:
156156
# No output will hash the inputs.
157-
return _hash_inputs
157+
return _hash_inputs()
158158

159159
if isinstance(output, (list, tuple)):
160160
return ".." + "...".join(_concat(x) for x in output) + ".."

0 commit comments

Comments
 (0)