@@ -143,8 +143,7 @@ def _firestore_endpoint_handler(
143
143
app = get_app ()
144
144
firestore_client = _firestore_v1 .Client (project = app .project_id ,
145
145
database = event_database )
146
- firestore_ref : DocumentReference = firestore_client .document (
147
- event_document )
146
+ firestore_ref : DocumentReference = firestore_client .document (event_document )
148
147
value_snapshot : DocumentSnapshot | None = None
149
148
old_value_snapshot : DocumentSnapshot | None = None
150
149
@@ -273,7 +272,7 @@ def on_document_written_wrapped(raw: _ce.CloudEvent):
273
272
274
273
@_util .copy_func_kwargs (FirestoreOptions )
275
274
def on_document_written_with_auth_context (** kwargs
276
- ) -> _typing .Callable [[_C1 ], _C1 ]:
275
+ ) -> _typing .Callable [[_C1 ], _C1 ]:
277
276
"""
278
277
Event handler that triggers when a document is created, updated, or deleted in Firestore.
279
278
This trigger will also provide the authentication context of the principal who triggered
@@ -372,7 +371,7 @@ def on_document_updated_wrapped(raw: _ce.CloudEvent):
372
371
373
372
@_util .copy_func_kwargs (FirestoreOptions )
374
373
def on_document_updated_with_auth_context (** kwargs
375
- ) -> _typing .Callable [[_C1 ], _C1 ]:
374
+ ) -> _typing .Callable [[_C1 ], _C1 ]:
376
375
"""
377
376
Event handler that triggers when a document is updated in Firestore.
378
377
This trigger will also provide the authentication context of the principal who triggered
@@ -471,7 +470,7 @@ def on_document_created_wrapped(raw: _ce.CloudEvent):
471
470
472
471
@_util .copy_func_kwargs (FirestoreOptions )
473
472
def on_document_created_with_auth_context (** kwargs
474
- ) -> _typing .Callable [[_C2 ], _C2 ]:
473
+ ) -> _typing .Callable [[_C2 ], _C2 ]:
475
474
"""
476
475
Event handler that triggers when a document is created in Firestore.
477
476
This trigger will also provide the authentication context of the principal who triggered
@@ -570,7 +569,7 @@ def on_document_deleted_wrapped(raw: _ce.CloudEvent):
570
569
571
570
@_util .copy_func_kwargs (FirestoreOptions )
572
571
def on_document_deleted_with_auth_context (** kwargs
573
- ) -> _typing .Callable [[_C2 ], _C2 ]:
572
+ ) -> _typing .Callable [[_C2 ], _C2 ]:
574
573
"""
575
574
Event handler that triggers when a document is deleted in Firestore.
576
575
This trigger will also provide the authentication context of the principal who triggered
0 commit comments