We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d13e77 commit c0fa3f8Copy full SHA for c0fa3f8
cursorless-talon/src/command.py
@@ -94,14 +94,14 @@ def make_serializable(value: Any) -> Any:
94
return {k: make_serializable(v) for k, v in value.items()}
95
if isinstance(value, list):
96
return [make_serializable(v) for v in value]
97
- if isinstance(value, staticmethod):
98
- return None
99
if dataclasses.is_dataclass(value):
100
items = {
101
**{
102
k: v
103
for k, v in vars(type(value)).items()
104
- if not k.startswith("_") and not isinstance(v, property)
+ if not k.startswith("_")
+ and not isinstance(v, property)
+ and not isinstance(v, staticmethod)
105
},
106
**value.__dict__,
107
}
0 commit comments