@@ -145,8 +145,7 @@ def _firestore_endpoint_handler(
145
145
app = get_app ()
146
146
firestore_client = _firestore_v1 .Client (project = app .project_id ,
147
147
database = event_database )
148
- firestore_ref : DocumentReference = firestore_client .document (
149
- event_document )
148
+ firestore_ref : DocumentReference = firestore_client .document (event_document )
150
149
value_snapshot : DocumentSnapshot | None = None
151
150
old_value_snapshot : DocumentSnapshot | None = None
152
151
@@ -268,7 +267,7 @@ def on_document_written_wrapped(raw: _ce.CloudEvent):
268
267
269
268
@_util .copy_func_kwargs (FirestoreOptions )
270
269
def on_document_written_with_auth_context (** kwargs
271
- ) -> _typing .Callable [[_C1 ], _C1 ]:
270
+ ) -> _typing .Callable [[_C1 ], _C1 ]:
272
271
"""
273
272
Event handler that triggers when a document is created, updated, or deleted in Firestore.
274
273
This trigger will also provide the authentication context of the principal who triggered
@@ -367,7 +366,7 @@ def on_document_updated_wrapped(raw: _ce.CloudEvent):
367
366
368
367
@_util .copy_func_kwargs (FirestoreOptions )
369
368
def on_document_updated_with_auth_context (** kwargs
370
- ) -> _typing .Callable [[_C1 ], _C1 ]:
369
+ ) -> _typing .Callable [[_C1 ], _C1 ]:
371
370
"""
372
371
Event handler that triggers when a document is updated in Firestore.
373
372
This trigger will also provide the authentication context of the principal who triggered
@@ -466,7 +465,7 @@ def on_document_created_wrapped(raw: _ce.CloudEvent):
466
465
467
466
@_util .copy_func_kwargs (FirestoreOptions )
468
467
def on_document_created_with_auth_context (** kwargs
469
- ) -> _typing .Callable [[_C2 ], _C2 ]:
468
+ ) -> _typing .Callable [[_C2 ], _C2 ]:
470
469
"""
471
470
Event handler that triggers when a document is created in Firestore.
472
471
This trigger will also provide the authentication context of the principal who triggered
@@ -565,7 +564,7 @@ def on_document_deleted_wrapped(raw: _ce.CloudEvent):
565
564
566
565
@_util .copy_func_kwargs (FirestoreOptions )
567
566
def on_document_deleted_with_auth_context (** kwargs
568
- ) -> _typing .Callable [[_C2 ], _C2 ]:
567
+ ) -> _typing .Callable [[_C2 ], _C2 ]:
569
568
"""
570
569
Event handler that triggers when a document is deleted in Firestore.
571
570
This trigger will also provide the authentication context of the principal who triggered
0 commit comments