Skip to content

Commit 8ff1216

Browse files
feat: add TABLE_DEFAULTS enum for table method arguments (#880)
1 parent 50531e5 commit 8ff1216

File tree

6 files changed

+229
-128
lines changed

6 files changed

+229
-128
lines changed

google/cloud/bigtable/data/__init__.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
from typing import List, Tuple
18-
1916
from google.cloud.bigtable import gapic_version as package_version
2017

2118
from google.cloud.bigtable.data._async.client import BigtableDataClientAsync
@@ -44,10 +41,10 @@
4441
from google.cloud.bigtable.data.exceptions import MutationsExceptionGroup
4542
from google.cloud.bigtable.data.exceptions import ShardedReadRowsExceptionGroup
4643

47-
# Type alias for the output of sample_keys
48-
RowKeySamples = List[Tuple[bytes, int]]
49-
# type alias for the output of query.shard()
50-
ShardedQuery = List[ReadRowsQuery]
44+
from google.cloud.bigtable.data._helpers import TABLE_DEFAULT
45+
from google.cloud.bigtable.data._helpers import RowKeySamples
46+
from google.cloud.bigtable.data._helpers import ShardedQuery
47+
5148

5249
__version__: str = package_version.__version__
5350

@@ -74,4 +71,5 @@
7471
"MutationsExceptionGroup",
7572
"ShardedReadRowsExceptionGroup",
7673
"ShardedQuery",
74+
"TABLE_DEFAULT",
7775
)

0 commit comments

Comments
 (0)