File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
samples/https_flask/functions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ def httpsflaskexample(request):
2525 return entrypoint (app , request )
2626
2727@https_fn .on_call ()
28- def callableexample (request : https_fn .Request ):
28+ def callableexample (request : https_fn .CallableRequest ):
2929 return request .data
3030
3131@https_fn .on_call ()
32- def streamingcallable (request : https_fn .Request ):
32+ def streamingcallable (request : https_fn .CallableRequest ):
3333 yield "Hello,"
3434 yield "world!"
3535 return request .data
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ def _firestore_endpoint_handler(
219219 func (database_event_with_auth_context )
220220 else :
221221 # 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
223223
224224
225225@_util .copy_func_kwargs (FirestoreOptions )
You can’t perform that action at this time.
0 commit comments