Skip to content

Commit 7a02bf6

Browse files
committed
fixed mypy
1 parent 404ff9e commit 7a02bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/firestore_v1/base_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,10 +1185,10 @@ def _build_pipeline(self, source: "PipelineSource"):
11851185
# Apply cursors as filters.
11861186
if orderings:
11871187
for cursor, is_start in [(self._start_at, True), (self._end_at, False)]:
1188+
cursor = self._normalize_cursor(cursor, normalized_orders)
11881189
if cursor:
1189-
val = self._normalize_cursor(cursor, normalized_orders)
11901190
ppl = ppl.where(
1191-
_where_conditions_from_cursor(val, orderings, is_start)
1191+
_where_conditions_from_cursor(cursor, orderings, is_start)
11921192
)
11931193

11941194
# Handle sort and limit, including limit_to_last semantics.

0 commit comments

Comments
 (0)