Skip to content

Commit

Permalink
[BEAM-11516] Fix pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
benWize committed Sep 30, 2021
1 parent aafcd6c commit 80aec5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/io/gcp/bigtableio.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
class _MutationsBatcher(MutationsBatcher):
def __init__(
self, table, flush_count=FLUSH_COUNT, max_row_bytes=MAX_ROW_BYTES):
super(_MutationsBatcher, self).__init__(table, flush_count, max_row_bytes)
super().__init__(table, flush_count, max_row_bytes)
self.rows = []

def set_flush_callback(self, callback_fn):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_pipeline_composites(self, cell):
ib.watch({'p': p})

with cell: # Cell 2
# pylint: disable=range-builtin-not-iterating
# pylint: disable=bad-option-value
init = p | 'Init' >> beam.Create(range(5))

with cell: # Cell 3
Expand Down

0 comments on commit 80aec5c

Please sign in to comment.