Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions google/cloud/bigtable/column_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from google.cloud.bigtable_admin_v2.types import (
bigtable_table_admin as table_admin_v2_pb2,
)
from google.api_core.gapic_v1.method import DEFAULT


class GarbageCollectionRule(object):
Expand Down Expand Up @@ -275,7 +276,8 @@ def create(self):
# data it contains are the GC rule and the column family ID already
# stored on this instance.
client.table_admin_client.modify_column_families(
request={"name": self._table.name, "modifications": [modification]}
request={"name": self._table.name, "modifications": [modification]},
timeout=DEFAULT,
)

def update(self):
Expand All @@ -302,7 +304,8 @@ def update(self):
# data it contains are the GC rule and the column family ID already
# stored on this instance.
client.table_admin_client.modify_column_families(
request={"name": self._table.name, "modifications": [modification]}
request={"name": self._table.name, "modifications": [modification]},
timeout=DEFAULT,
)

def delete(self):
Expand All @@ -324,7 +327,8 @@ def delete(self):
# data it contains are the GC rule and the column family ID already
# stored on this instance.
client.table_admin_client.modify_column_families(
request={"name": self._table.name, "modifications": [modification]}
request={"name": self._table.name, "modifications": [modification]},
timeout=DEFAULT,
)


Expand Down