Skip to content

Commit 404ff9e

Browse files
committed
fixed lint
1 parent d3fd55f commit 404ff9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google/cloud/firestore_v1/base_query.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,9 +1184,9 @@ def _build_pipeline(self, source: "PipelineSource"):
11841184

11851185
# Apply cursors as filters.
11861186
if orderings:
1187-
for cursor_data, is_start in [(self._start_at, True), (self._end_at, False)]:
1188-
if cursor_data:
1189-
val = self._normalize_cursor(cursor_data, normalized_orders)
1187+
for cursor, is_start in [(self._start_at, True), (self._end_at, False)]:
1188+
if cursor:
1189+
val = self._normalize_cursor(cursor, normalized_orders)
11901190
ppl = ppl.where(
11911191
_where_conditions_from_cursor(val, orderings, is_start)
11921192
)

0 commit comments

Comments
 (0)