File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1669,7 +1669,7 @@ def get_non_separator_tokens(self) -> List[str]:
16691669 """
16701670 return self .http .get (self .__settings_url_for (self .config .paths .non_separator_tokens ))
16711671
1672- def update_separator_tokens (self , body : List [str ]) -> TaskInfo :
1672+ def update_separator_tokens (self , body : Union [ List [str ], None ]) -> TaskInfo :
16731673 """Update the additional separator tokens of the index.
16741674
16751675 Parameters
@@ -1692,7 +1692,7 @@ def update_separator_tokens(self, body: List[str]) -> TaskInfo:
16921692
16931693 return TaskInfo (** task )
16941694
1695- def update_non_separator_tokens (self , body : List [str ]) -> TaskInfo :
1695+ def update_non_separator_tokens (self , body : Union [ List [str ], None ]) -> TaskInfo :
16961696 """Update the disabled separator tokens of the index.
16971697
16981698 Parameters
You can’t perform that action at this time.
0 commit comments