File tree 2 files changed +3
-3
lines changed
samples/https_flask/functions
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ def httpsflaskexample(request):
25
25
return entrypoint (app , request )
26
26
27
27
@https_fn .on_call ()
28
- def callableexample (request : https_fn .Request ):
28
+ def callableexample (request : https_fn .CallableRequest ):
29
29
return request .data
30
30
31
31
@https_fn .on_call ()
32
- def streamingcallable (request : https_fn .Request ):
32
+ def streamingcallable (request : https_fn .CallableRequest ):
33
33
yield "Hello,"
34
34
yield "world!"
35
35
return request .data
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ def _firestore_endpoint_handler(
219
219
func (database_event_with_auth_context )
220
220
else :
221
221
# mypy cannot infer that the event type is correct, hence the cast
222
- _typing .cast (_C1 | _C2 , func )(database_event )
222
+ _typing .cast (_C1 | _C2 , func )(database_event ) # type: ignore
223
223
224
224
225
225
@_util .copy_func_kwargs (FirestoreOptions )
You can’t perform that action at this time.
0 commit comments