You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the settings directory location can be customized using the
56
74
`user.cursorless_settings_directory` setting.
57
75
58
76
Args:
59
77
filename (str): The name of the csv file to be placed in
60
-
`cursorles-settings` dir
61
-
default_values (dict[str, dict]): The default values for the lists to
62
-
be customized in the given csv
63
-
extra_ignored_values list[str]: Don't throw an exception if any of
64
-
these appear as values; just ignore them and don't add them to any list
65
-
allow_unknown_values bool: If unknown values appear, just put them in the list
66
-
default_list_name Optional[str]: If unknown values are allowed, put any
67
-
unknown values in this list
68
-
no_update_file Optional[bool]: Set this to `TRUE` to indicate that we should
69
-
not update the csv. This is used generally in case there was an issue coming up with the default set of values so we don't want to persist those to disk
70
-
pluralize_lists: Create plural version of given lists
78
+
`cursorles-settings` dir
79
+
default_values (ListToSpokenForms): The default values for the lists to
80
+
be customized in the given csv
81
+
handle_new_values (Optional[Callable[[list[SpokenFormEntry]], None]]): A
82
+
callback to be called when the lists are updated
83
+
extra_ignored_values (Optional[list[str]]): Don't throw an exception if
84
+
any of these appear as values; just ignore them and don't add them
85
+
to any list
86
+
allow_unknown_values (bool): If unknown values appear, just put them in
87
+
the list
88
+
default_list_name (Optional[str]): If unknown values are
89
+
allowed, put any unknown values in this list
90
+
headers (list[str]): The headers to use for the csv
91
+
no_update_file (bool): Set this to `True` to indicate that we should not
92
+
update the csv. This is used generally in case there was an issue
93
+
coming up with the default set of values so we don't want to persist
94
+
those to disk
95
+
pluralize_lists (list[str]): Create plural version of given lists
0 commit comments