Skip to content

Commit 97cacbc

Browse files
committed
linting
1 parent 3807239 commit 97cacbc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tensorflow_io/python/ops/bigtable/bigtable_dataset_ops.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ def get_table(self, table_id):
4141

4242
class BigtableTable:
4343
"""Entry point for reading data from Cloud Bigtable. This object represents
44-
a Bigtable Table and provides basic methods for reading from it.
44+
a Bigtable Table and provides basic methods for reading from it.
4545
"""
4646

4747
def __init__(self, client_resource: tf.Tensor, table_id: str):
4848
"""
49-
Args:
50-
client_resource: Resource holding a reference to BigtableClient.
51-
table_id (str): The ID of the table.
52-
"""
49+
Args:
50+
client_resource: Resource holding a reference to BigtableClient.
51+
table_id (str): The ID of the table.
52+
"""
5353
self._table_id = table_id
5454
self._client_resource = client_resource
5555

@@ -65,7 +65,7 @@ def read_rows(
6565
columns (List[str]): the list of columns to read from; the order on
6666
this list will determine the order in the output tensors
6767
row_set (RowSet): set of rows to read.
68-
68+
6969
Returns:
7070
A `tf.data.Dataset` returning the cell contents.
7171
"""
@@ -88,15 +88,15 @@ def parallel_read_rows(
8888
filter: filters.BigtableFilter = filters.latest(),
8989
output_type=tf.string,
9090
):
91-
"""Retrieves values from Google Bigtable in parallel. The ammount of work
91+
"""Retrieves values from Google Bigtable in parallel. The ammount of work
9292
is split between workers based on SampleRowKeys. Keep in mind that when
9393
reading in parallel, rows are not read in any particular order.
9494
Args:
9595
columns (List[str]): the list of columns to read from; the order on
9696
this list will determine the order in the output tensors
9797
num_parallel_calls: number of workers assigned to reading the data.
9898
row_set (RowSet): set of rows to read.
99-
99+
100100
Returns:
101101
A `tf.data.Dataset` returning the cell contents.
102102
"""

tensorflow_io/python/ops/bigtable/bigtable_row_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
class RowSet:
23-
"""Object representing a set of rows by keeping a list of RowKeys and
23+
"""Object representing a set of rows by keeping a list of RowKeys and
2424
RowRanges that the set consists of."""
2525

2626
def __init__(self, impl):

0 commit comments

Comments
 (0)