Skip to content

Commit 3fae39e

Browse files
committed
Add sort stub
1 parent d376745 commit 3fae39e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dash/_patch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ def update(self, E=None, **F):
131131
value.update(F)
132132
self._operations.append(_operation("Merge", self._location, value=value))
133133

134+
# pylint: disable=no-self-use
135+
def sort(self):
136+
raise KeyError("sort is reserved for future use, use brackets to access this key on your object")
137+
134138
def to_plotly_json(self):
135139
return {
136140
"__dash_patch_update": "__dash_patch_update",

0 commit comments

Comments
 (0)