File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,22 @@ class _Replace(Protocol):
235
235
match : List [Any ] = ...,
236
236
) -> None : ...
237
237
238
+ class _Upsert (Protocol ):
239
+ def __call__ (
240
+ self ,
241
+ method : Optional [Union [str , BaseResponse ]] = ...,
242
+ url : Optional [Union [Pattern [str ], str ]] = ...,
243
+ body : _Body = ...,
244
+ json : Optional [Any ] = ...,
245
+ status : int = ...,
246
+ headers : Optional [Mapping [str , str ]] = ...,
247
+ stream : bool = ...,
248
+ content_type : Optional [str ] = ...,
249
+ adding_headers : Optional [Mapping [str , str ]] = ...,
250
+ match_querystring : bool = ...,
251
+ match : List [Any ] = ...,
252
+ ) -> None : ...
253
+
238
254
activate : _Activate
239
255
add : _Add
240
256
add_callback : _AddCallback
@@ -259,6 +275,7 @@ response_callback: Callable[[Any], Any]
259
275
start : Callable [[], None ]
260
276
stop : Callable [..., None ]
261
277
target : Any
278
+ upsert : _Upsert
262
279
263
280
__all__ = [
264
281
"CallbackResponse" ,
@@ -287,4 +304,5 @@ __all__ = [
287
304
"start" ,
288
305
"stop" ,
289
306
"target" ,
307
+ "upsert"
290
308
]
You can’t perform that action at this time.
0 commit comments