Skip to content

Commit 5c8df14

Browse files
committed
fixed lint
1 parent 712ded8 commit 5c8df14

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,9 @@ def sort(self, *orders: stages.Ordering) -> "_BasePipeline":
394394
"""
395395
return self._append(stages.Sort(*orders))
396396

397-
def search(self, query_or_options: str | BooleanExpression | stages.SearchOptions) -> "_BasePipeline":
397+
def search(
398+
self, query_or_options: str | BooleanExpression | stages.SearchOptions
399+
) -> "_BasePipeline":
398400
"""
399401
Adds a search stage to the pipeline.
400402

packages/google-cloud-firestore/tests/unit/v1/test_pipeline_stages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,7 @@ def test_search_with_boolean_expression(self):
843843
pb_opts = stage._pb_options()
844844
assert "query" in pb_opts
845845

846+
846847
class TestSelect:
847848
def _make_one(self, *args, **kwargs):
848849
return stages.Select(*args, **kwargs)

0 commit comments

Comments
 (0)