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
57
75
`user.cursorless_settings_directory` setting.
58
76
59
77
Args:
60
78
filename (str): The name of the csv file to be placed in
61
-
`cursorles-settings` dir
62
-
default_values (dict[str, dict]): The default values for the lists to
63
-
be customized in the given csv
64
-
extra_ignored_values list[str]: Don't throw an exception if any of
65
-
these appear as values; just ignore them and don't add them to any list
66
-
allow_unknown_values bool: If unknown values appear, just put them in the list
67
-
default_list_name Optional[str]: If unknown values are allowed, put any
68
-
unknown values in this list
69
-
no_update_file Optional[bool]: Set this to `TRUE` to indicate that we should
70
-
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
71
-
pluralize_lists: Create plural version of given lists
79
+
`cursorles-settings` dir
80
+
default_values (ListToSpokenForms): The default values for the lists to
81
+
be customized in the given csv
82
+
handle_new_values (Optional[Callable[[list[SpokenFormEntry]], None]]): A
83
+
callback to be called when the lists are updated
84
+
extra_ignored_values (Optional[list[str]]): Don't throw an exception if
85
+
any of these appear as values; just ignore them and don't add them
86
+
to any list
87
+
allow_unknown_values (bool): If unknown values appear, just put them in
88
+
the list
89
+
default_list_name (Optional[str]): If unknown values are
90
+
allowed, put any unknown values in this list
91
+
headers (list[str]): The headers to use for the csv
92
+
no_update_file (bool): Set this to `True` to indicate that we should not
93
+
update the csv. This is used generally in case there was an issue
94
+
coming up with the default set of values so we don't want to persist
95
+
those to disk
96
+
pluralize_lists (list[str]): Create plural version of given lists
72
97
"""
73
98
# Don't allow both `extra_allowed_values` and `allow_unknown_values`
0 commit comments