Skip to content

Commit

Permalink
feat: add TABLE_DEFAULTS enum for table method arguments (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche authored Oct 26, 2023
1 parent 50531e5 commit 8ff1216
Show file tree
Hide file tree
Showing 6 changed files with 229 additions and 128 deletions.
12 changes: 5 additions & 7 deletions google/cloud/bigtable/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from typing import List, Tuple

from google.cloud.bigtable import gapic_version as package_version

from google.cloud.bigtable.data._async.client import BigtableDataClientAsync
Expand Down Expand Up @@ -44,10 +41,10 @@
from google.cloud.bigtable.data.exceptions import MutationsExceptionGroup
from google.cloud.bigtable.data.exceptions import ShardedReadRowsExceptionGroup

# Type alias for the output of sample_keys
RowKeySamples = List[Tuple[bytes, int]]
# type alias for the output of query.shard()
ShardedQuery = List[ReadRowsQuery]
from google.cloud.bigtable.data._helpers import TABLE_DEFAULT
from google.cloud.bigtable.data._helpers import RowKeySamples
from google.cloud.bigtable.data._helpers import ShardedQuery


__version__: str = package_version.__version__

Expand All @@ -74,4 +71,5 @@
"MutationsExceptionGroup",
"ShardedReadRowsExceptionGroup",
"ShardedQuery",
"TABLE_DEFAULT",
)
Loading

0 comments on commit 8ff1216

Please sign in to comment.