Skip to content

Commit a1e9264

Browse files
committed
fixed lint
1 parent d2dfbee commit a1e9264

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • packages/google-cloud-firestore/google/cloud/firestore_v1

packages/google-cloud-firestore/google/cloud/firestore_v1/collection.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
if TYPE_CHECKING: # pragma: NO COVER
3434
import datetime
3535

36-
from google.cloud.firestore_v1.document import DocumentReference
3736
from google.cloud.firestore_v1.base_document import DocumentSnapshot
37+
from google.cloud.firestore_v1.document import DocumentReference
3838
from google.cloud.firestore_v1.query_profile import ExplainOptions
3939
from google.cloud.firestore_v1.stream_generator import StreamGenerator
4040

@@ -135,7 +135,6 @@ def add(
135135
write_result = document_ref.create(document_data, **kwargs)
136136
return write_result.update_time, document_ref
137137

138-
139138
def document(self, document_id: Union[str, None] = None) -> "DocumentReference":
140139
"""Create a sub-document underneath the current collection.
141140
@@ -151,7 +150,7 @@ def document(self, document_id: Union[str, None] = None) -> "DocumentReference":
151150
"""
152151
doc = super().document(document_id)
153152
return cast("DocumentReference", doc)
154-
153+
155154
def list_documents(
156155
self,
157156
page_size: Union[int, None] = None,

0 commit comments

Comments
 (0)