@@ -277,13 +277,13 @@ def on_document_written_with_auth_context(**kwargs
277
277
.. code-block:: python
278
278
279
279
@on_document_written_with_auth_context(document="*")
280
- def example(event: Event [Change[DocumentSnapshot]]) -> None:
280
+ def example(event: EventWithAuthContext [Change[DocumentSnapshot]]) -> None:
281
281
pass
282
282
283
283
:param \\ *\\ *kwargs: Firestore options.
284
284
:type \\ *\\ *kwargs: as :exc:`firebase_functions.options.FirestoreOptions`
285
285
:rtype: :exc:`typing.Callable`
286
- \\ [ \\ [ :exc:`firebase_functions.firestore_fn.Event ` \\ [
286
+ \\ [ \\ [ :exc:`firebase_functions.firestore_fn.EventWithAuthContext ` \\ [
287
287
:exc:`firebase_functions.db.Change` \\ ] \\ ], `None` \\ ]
288
288
A function that takes a Firestore event and returns ``None``.
289
289
"""
@@ -375,13 +375,13 @@ def on_document_updated_with_auth_context(**kwargs
375
375
.. code-block:: python
376
376
377
377
@on_document_updated_with_auth_context(document="*")
378
- def example(event: Event [Change[DocumentSnapshot]]) -> None:
378
+ def example(event: EventWithAuthContext [Change[DocumentSnapshot]]) -> None:
379
379
pass
380
380
381
381
:param \\ *\\ *kwargs: Firestore options.
382
382
:type \\ *\\ *kwargs: as :exc:`firebase_functions.options.FirestoreOptions`
383
383
:rtype: :exc:`typing.Callable`
384
- \\ [ \\ [ :exc:`firebase_functions.firestore_fn.Event ` \\ [
384
+ \\ [ \\ [ :exc:`firebase_functions.firestore_fn.EventWithAuthContext ` \\ [
385
385
:exc:`firebase_functions.db.Change` \\ ] \\ ], `None` \\ ]
386
386
A function that takes a Firestore event and returns ``None``.
387
387
"""
@@ -473,13 +473,13 @@ def on_document_created_with_auth_context(**kwargs
473
473
.. code-block:: python
474
474
475
475
@on_document_created_with_auth_context(document="*")
476
- def example(event: Event [DocumentSnapshot]):
476
+ def example(event: EventWithAuthContext [DocumentSnapshot]):
477
477
pass
478
478
479
479
:param \\ *\\ *kwargs: Firestore options.
480
480
:type \\ *\\ *kwargs: as :exc:`firebase_functions.options.FirestoreOptions`
481
481
:rtype: :exc:`typing.Callable`
482
- \\ [ \\ [ :exc:`firebase_functions.firestore_fn.Event ` \\ [
482
+ \\ [ \\ [ :exc:`firebase_functions.firestore_fn.EventWithAuthContext ` \\ [
483
483
:exc:`object` \\ ] \\ ], `None` \\ ]
484
484
A function that takes a Firestore event and returns ``None``.
485
485
"""
@@ -571,13 +571,13 @@ def on_document_deleted_with_auth_context(**kwargs
571
571
.. code-block:: python
572
572
573
573
@on_document_deleted_with_auth_context(document="*")
574
- def example(event: Event [DocumentSnapshot]) -> None:
574
+ def example(event: EventWithAuthContext [DocumentSnapshot]) -> None:
575
575
pass
576
576
577
577
:param \\ *\\ *kwargs: Firestore options.
578
578
:type \\ *\\ *kwargs: as :exc:`firebase_functions.options.FirestoreOptions`
579
579
:rtype: :exc:`typing.Callable`
580
- \\ [ \\ [ :exc:`firebase_functions.firestore_fn.Event ` \\ [
580
+ \\ [ \\ [ :exc:`firebase_functions.firestore_fn.EventWithAuthContext ` \\ [
581
581
:exc:`object` \\ ] \\ ], `None` \\ ]
582
582
A function that takes a Firestore event and returns ``None``.
583
583
"""
0 commit comments