Skip to content

Commit 1951d67

Browse files
authored
Merge pull request #3304 from misrasaurabh1/codeflash/optimize-_operation-maxhjvph
Speed up function `_operation` by 80%
2 parents 60dce78 + 3a0dda8 commit 1951d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def _operation(name, location, **kwargs):
5-
return {"operation": name, "location": location, "params": dict(**kwargs)}
5+
return {"operation": name, "location": location, "params": kwargs}
66

77

88
_noop = object()

0 commit comments

Comments
 (0)