|
17 | 17 |
|
18 | 18 | from google.cloud.bigtable.data._async.client import BigtableDataClientAsync
|
19 | 19 | from google.cloud.bigtable.data._async.client import TableAsync
|
20 |
| - |
21 | 20 | from google.cloud.bigtable.data._async.mutations_batcher import MutationsBatcherAsync
|
| 21 | +from google.cloud.bigtable.data._sync_autogen.client import BigtableDataClient |
| 22 | +from google.cloud.bigtable.data._sync_autogen.client import Table |
| 23 | +from google.cloud.bigtable.data._sync_autogen.mutations_batcher import MutationsBatcher |
22 | 24 |
|
23 | 25 | from google.cloud.bigtable.data.read_rows_query import ReadRowsQuery
|
24 | 26 | from google.cloud.bigtable.data.read_rows_query import RowRange
|
|
52 | 54 | from google.cloud.bigtable.data._async._read_rows import _ReadRowsOperationAsync
|
53 | 55 | from google.cloud.bigtable.data._async._mutate_rows import _MutateRowsOperationAsync
|
54 | 56 |
|
| 57 | +from google.cloud.bigtable_v2.services.bigtable.client import ( |
| 58 | + BigtableClient, |
| 59 | +) |
| 60 | +from google.cloud.bigtable.data._sync_autogen._read_rows import _ReadRowsOperation |
| 61 | +from google.cloud.bigtable.data._sync_autogen._mutate_rows import _MutateRowsOperation |
| 62 | + |
55 | 63 | from google.cloud.bigtable.data._cross_sync import CrossSync
|
56 | 64 |
|
57 | 65 | CrossSync.add_mapping("GapicClient", BigtableAsyncClient)
|
| 66 | +CrossSync._Sync_Impl.add_mapping("GapicClient", BigtableClient) |
58 | 67 | CrossSync.add_mapping("_ReadRowsOperation", _ReadRowsOperationAsync)
|
| 68 | +CrossSync._Sync_Impl.add_mapping("_ReadRowsOperation", _ReadRowsOperation) |
59 | 69 | CrossSync.add_mapping("_MutateRowsOperation", _MutateRowsOperationAsync)
|
| 70 | +CrossSync._Sync_Impl.add_mapping("_MutateRowsOperation", _MutateRowsOperation) |
60 | 71 | CrossSync.add_mapping("MutationsBatcher", MutationsBatcherAsync)
|
61 |
| - |
| 72 | +CrossSync._Sync_Impl.add_mapping("MutationsBatcher", MutationsBatcher) |
62 | 73 |
|
63 | 74 | __version__: str = package_version.__version__
|
64 | 75 |
|
65 | 76 | __all__ = (
|
66 | 77 | "BigtableDataClientAsync",
|
67 | 78 | "TableAsync",
|
68 | 79 | "MutationsBatcherAsync",
|
| 80 | + "BigtableDataClient", |
| 81 | + "Table", |
| 82 | + "MutationsBatcher", |
69 | 83 | "RowKeySamples",
|
70 | 84 | "ReadRowsQuery",
|
71 | 85 | "RowRange",
|
|
0 commit comments