@@ -218,6 +218,15 @@ def delete_users(
218218 """
219219 pass
220220
221+ @abc .abstractmethod
222+ def restore_users (
223+ self , user_ids : Iterable [str ]
224+ ) -> Union [StreamResponse , Awaitable [StreamResponse ]]:
225+ """
226+ Restores soft deleted users.
227+ """
228+ pass
229+
221230 @abc .abstractmethod
222231 def deactivate_user (
223232 self , user_id : str , ** options : Any
@@ -562,7 +571,7 @@ def delete_channel_type(
562571 @abc .abstractmethod
563572 def channel (
564573 self , channel_type : str , channel_id : str = None , data : Dict = None
565- ) -> TChannel :
574+ ) -> TChannel : # type: ignore[type-var]
566575 """
567576 Creates a channel object
568577
@@ -1141,6 +1150,7 @@ def create_import_url(
11411150 """
11421151 pass
11431152
1153+ @abc .abstractmethod
11441154 def create_import (
11451155 self , path : str , mode : Literal ["insert" , "upsert" ] = "upsert"
11461156 ) -> Union [StreamResponse , Awaitable [StreamResponse ]]:
@@ -1162,6 +1172,7 @@ def create_import(
11621172 """
11631173 pass
11641174
1175+ @abc .abstractmethod
11651176 def get_import (self , id : str ) -> Union [StreamResponse , Awaitable [StreamResponse ]]:
11661177 """
11671178 Get the status of an import task.
@@ -1181,6 +1192,7 @@ def get_import(self, id: str) -> Union[StreamResponse, Awaitable[StreamResponse]
11811192 """
11821193 pass
11831194
1195+ @abc .abstractmethod
11841196 def list_imports (
11851197 self , options : Dict = None
11861198 ) -> Union [StreamResponse , Awaitable [StreamResponse ]]:
0 commit comments