google-cloud-bigtable 2.42.0__tar.gz → 2.43.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. {google_cloud_bigtable-2.42.0/google_cloud_bigtable.egg-info → google_cloud_bigtable-2.43.0}/PKG-INFO +1 -1
  2. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/batcher.py +7 -0
  3. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/gapic_version.py +1 -1
  4. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/row.py +2 -2
  5. google_cloud_bigtable-2.43.0/google/cloud/bigtable/row_filters.py +232 -0
  6. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/table.py +8 -1
  7. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin/gapic_version.py +1 -1
  8. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/gapic_version.py +1 -1
  9. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/gapic_version.py +1 -1
  10. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/feature_flags.py +7 -0
  11. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0/google_cloud_bigtable.egg-info}/PKG-INFO +1 -1
  12. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_row.py +1 -1
  13. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_row_data.py +8 -8
  14. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_row_filters.py +125 -89
  15. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_table.py +1 -1
  16. google_cloud_bigtable-2.42.0/google/cloud/bigtable/row_filters.py +0 -869
  17. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/LICENSE +0 -0
  18. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/MANIFEST.in +0 -0
  19. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/README.rst +0 -0
  20. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/__init__.py +0 -0
  21. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/app_profile.py +0 -0
  22. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/backup.py +0 -0
  23. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/client.py +0 -0
  24. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/cluster.py +0 -0
  25. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/column_family.py +0 -0
  26. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/__init__.py +0 -0
  27. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_async/__init__.py +0 -0
  28. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_async/_mutate_rows.py +0 -0
  29. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_async/_read_rows.py +0 -0
  30. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_async/_swappable_channel.py +0 -0
  31. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_async/client.py +0 -0
  32. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_async/metrics_interceptor.py +0 -0
  33. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_async/mutations_batcher.py +0 -0
  34. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_cross_sync/__init__.py +0 -0
  35. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_cross_sync/_decorators.py +0 -0
  36. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_cross_sync/_mapping_meta.py +0 -0
  37. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_cross_sync/cross_sync.py +0 -0
  38. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_helpers.py +0 -0
  39. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_metrics/__init__.py +0 -0
  40. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_metrics/data_model.py +0 -0
  41. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_metrics/handlers/_base.py +0 -0
  42. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_metrics/handlers/gcp_exporter.py +0 -0
  43. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_metrics/handlers/opentelemetry.py +0 -0
  44. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_metrics/metrics_controller.py +0 -0
  45. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_metrics/tracked_retry.py +0 -0
  46. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_sync_autogen/_mutate_rows.py +0 -0
  47. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_sync_autogen/_read_rows.py +0 -0
  48. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_sync_autogen/_swappable_channel.py +0 -0
  49. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_sync_autogen/client.py +0 -0
  50. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_sync_autogen/metrics_interceptor.py +0 -0
  51. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/_sync_autogen/mutations_batcher.py +0 -0
  52. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/exceptions.py +0 -0
  53. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/__init__.py +0 -0
  54. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_async/__init__.py +0 -0
  55. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_async/execute_query_iterator.py +0 -0
  56. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_byte_cursor.py +0 -0
  57. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_checksum.py +0 -0
  58. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_parameters_formatting.py +0 -0
  59. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_query_result_parsing_utils.py +0 -0
  60. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_reader.py +0 -0
  61. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/_sync_autogen/execute_query_iterator.py +0 -0
  62. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/metadata.py +0 -0
  63. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/execute_query/values.py +0 -0
  64. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/mutations.py +0 -0
  65. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/read_modify_write_rules.py +0 -0
  66. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/read_rows_query.py +0 -0
  67. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/row.py +0 -0
  68. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/data/row_filters.py +0 -0
  69. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/encryption_info.py +0 -0
  70. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/enums.py +0 -0
  71. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/error.py +0 -0
  72. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/helpers.py +0 -0
  73. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/instance.py +0 -0
  74. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/policy.py +0 -0
  75. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/py.typed +0 -0
  76. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/row_data.py +0 -0
  77. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/row_merger.py +0 -0
  78. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable/row_set.py +0 -0
  79. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin/__init__.py +0 -0
  80. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin/py.typed +0 -0
  81. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/__init__.py +0 -0
  82. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/gapic_metadata.json +0 -0
  83. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/__init__.py +0 -0
  84. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/services/__init__.py +0 -0
  85. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/services/bigtable_table_admin/__init__.py +0 -0
  86. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/services/bigtable_table_admin/async_client.py +0 -0
  87. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/services/bigtable_table_admin/client.py +0 -0
  88. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/types/__init__.py +0 -0
  89. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/types/async_consistency.py +0 -0
  90. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/types/async_restore_table.py +0 -0
  91. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/types/consistency.py +0 -0
  92. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/types/restore_table.py +0 -0
  93. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/overlay/types/wait_for_consistency_request.py +0 -0
  94. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/py.typed +0 -0
  95. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/__init__.py +0 -0
  96. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/__init__.py +0 -0
  97. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/async_client.py +0 -0
  98. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/client.py +0 -0
  99. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/pagers.py +0 -0
  100. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/__init__.py +0 -0
  101. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/base.py +0 -0
  102. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/grpc.py +0 -0
  103. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/grpc_asyncio.py +0 -0
  104. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py +0 -0
  105. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest_base.py +0 -0
  106. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/__init__.py +0 -0
  107. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/async_client.py +0 -0
  108. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/client.py +0 -0
  109. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/pagers.py +0 -0
  110. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/__init__.py +0 -0
  111. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/base.py +0 -0
  112. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/grpc.py +0 -0
  113. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/grpc_asyncio.py +0 -0
  114. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest.py +0 -0
  115. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest_base.py +0 -0
  116. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/types/__init__.py +0 -0
  117. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/types/bigtable_instance_admin.py +0 -0
  118. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/types/bigtable_table_admin.py +0 -0
  119. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/types/common.py +0 -0
  120. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/types/instance.py +0 -0
  121. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/types/table.py +0 -0
  122. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/types/types.py +0 -0
  123. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/utils/__init__.py +0 -0
  124. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_admin_v2/utils/oneof_message.py +0 -0
  125. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/__init__.py +0 -0
  126. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/gapic_metadata.json +0 -0
  127. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/py.typed +0 -0
  128. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/__init__.py +0 -0
  129. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/__init__.py +0 -0
  130. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/async_client.py +0 -0
  131. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/client.py +0 -0
  132. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/transports/__init__.py +0 -0
  133. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/transports/base.py +0 -0
  134. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/transports/grpc.py +0 -0
  135. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/transports/grpc_asyncio.py +0 -0
  136. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/transports/rest.py +0 -0
  137. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/services/bigtable/transports/rest_base.py +0 -0
  138. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/__init__.py +0 -0
  139. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/bigtable.py +0 -0
  140. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/data.py +0 -0
  141. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/peer_info.py +0 -0
  142. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/request_stats.py +0 -0
  143. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/response_params.py +0 -0
  144. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/session.py +0 -0
  145. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google/cloud/bigtable_v2/types/types.py +0 -0
  146. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google_cloud_bigtable.egg-info/SOURCES.txt +0 -0
  147. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google_cloud_bigtable.egg-info/dependency_links.txt +0 -0
  148. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google_cloud_bigtable.egg-info/not-zip-safe +0 -0
  149. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google_cloud_bigtable.egg-info/requires.txt +0 -0
  150. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/google_cloud_bigtable.egg-info/top_level.txt +0 -0
  151. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/setup.cfg +0 -0
  152. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/setup.py +0 -0
  153. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/__init__.py +0 -0
  154. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/__init__.py +0 -0
  155. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/admin_overlay/__init__.py +0 -0
  156. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/admin_overlay/conftest.py +0 -0
  157. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/admin_overlay/test_system_async.py +0 -0
  158. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/admin_overlay/test_system_autogen.py +0 -0
  159. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/conftest.py +0 -0
  160. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/cross_sync/test_cases/async_to_sync.yaml +0 -0
  161. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/cross_sync/test_cases/cross_sync_files.yaml +0 -0
  162. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/cross_sync/test_cases/rm_aio.yaml +0 -0
  163. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/cross_sync/test_cases/strip_async_conditional_branches.yaml +0 -0
  164. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/cross_sync/test_cases/symbol_replacer.yaml +0 -0
  165. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/cross_sync/test_cross_sync_e2e.py +0 -0
  166. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/data/__init__.py +0 -0
  167. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/data/test_metrics_async.py +0 -0
  168. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/data/test_metrics_autogen.py +0 -0
  169. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/data/test_system_async.py +0 -0
  170. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/data/test_system_autogen.py +0 -0
  171. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/utils.py +0 -0
  172. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/v2_client/__init__.py +0 -0
  173. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/v2_client/_helpers.py +0 -0
  174. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/v2_client/conftest.py +0 -0
  175. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/v2_client/test_data_api.py +0 -0
  176. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/v2_client/test_instance_admin.py +0 -0
  177. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/system/v2_client/test_table_admin.py +0 -0
  178. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/__init__.py +0 -0
  179. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/my_oneof_message.py +0 -0
  180. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_admin_packaging.py +0 -0
  181. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_async_client.py +0 -0
  182. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_async_consistency.py +0 -0
  183. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_async_restore_table.py +0 -0
  184. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_client.py +0 -0
  185. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_consistency.py +0 -0
  186. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_oneof_message.py +0 -0
  187. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/admin_overlay/test_restore_table.py +0 -0
  188. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/conftest.py +0 -0
  189. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/__init__.py +0 -0
  190. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/__init__.py +0 -0
  191. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/test__mutate_rows.py +0 -0
  192. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/test__read_rows.py +0 -0
  193. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/test__swappable_channel.py +0 -0
  194. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/test_client.py +0 -0
  195. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/test_metrics_interceptor.py +0 -0
  196. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/test_mutations_batcher.py +0 -0
  197. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_async/test_read_rows_acceptance.py +0 -0
  198. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_cross_sync/test_cross_sync.py +0 -0
  199. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_cross_sync/test_cross_sync_decorators.py +0 -0
  200. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_metrics/__init__.py +0 -0
  201. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_metrics/test_data_model.py +0 -0
  202. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_metrics/test_gcp_exporter_handler.py +0 -0
  203. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_metrics/test_metrics_controller.py +0 -0
  204. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_metrics/test_opentelemetry_handler.py +0 -0
  205. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_metrics/test_tracked_retry.py +0 -0
  206. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/__init__.py +0 -0
  207. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/test__mutate_rows.py +0 -0
  208. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/test__read_rows.py +0 -0
  209. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/test__swappable_channel.py +0 -0
  210. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/test_client.py +0 -0
  211. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/test_metrics_interceptor.py +0 -0
  212. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/test_mutations_batcher.py +0 -0
  213. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/_sync_autogen/test_read_rows_acceptance.py +0 -0
  214. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/__init__.py +0 -0
  215. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/_async/__init__.py +0 -0
  216. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/_async/test_query_iterator.py +0 -0
  217. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/_sync_autogen/__init__.py +0 -0
  218. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/_sync_autogen/test_query_iterator.py +0 -0
  219. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/resources/README.md +0 -0
  220. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/resources/__init__.py +0 -0
  221. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/resources/descriptors.pb +0 -0
  222. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/resources/singer.proto +0 -0
  223. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/resources/singer_pb2.py +0 -0
  224. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/sql_helpers.py +0 -0
  225. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/test_byte_cursor.py +0 -0
  226. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/test_checksum.py +0 -0
  227. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/test_execute_query_parameters_parsing.py +0 -0
  228. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/test_metadata.py +0 -0
  229. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/test_query_result_parsing_utils.py +0 -0
  230. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/execute_query/test_query_result_row_reader.py +0 -0
  231. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/read-rows-acceptance-test.json +0 -0
  232. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test__helpers.py +0 -0
  233. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_exceptions.py +0 -0
  234. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_helpers.py +0 -0
  235. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_mutations.py +0 -0
  236. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_read_modify_write_rules.py +0 -0
  237. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_read_rows_query.py +0 -0
  238. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_row.py +0 -0
  239. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_row_filters.py +0 -0
  240. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/data/test_sync_up_to_date.py +0 -0
  241. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/gapic/__init__.py +0 -0
  242. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/gapic/bigtable_admin_v2/__init__.py +0 -0
  243. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/gapic/bigtable_admin_v2/test_bigtable_instance_admin.py +0 -0
  244. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/gapic/bigtable_admin_v2/test_bigtable_table_admin.py +0 -0
  245. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/gapic/bigtable_v2/__init__.py +0 -0
  246. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/gapic/bigtable_v2/test_bigtable.py +0 -0
  247. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/test_packaging.py +0 -0
  248. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/test_sql_routing_parameters.py +0 -0
  249. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/__init__.py +0 -0
  250. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/_testing.py +0 -0
  251. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/read-rows-acceptance-test.json +0 -0
  252. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_app_profile.py +0 -0
  253. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_backup.py +0 -0
  254. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_batcher.py +0 -0
  255. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_client.py +0 -0
  256. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_cluster.py +0 -0
  257. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_column_family.py +0 -0
  258. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_encryption_info.py +0 -0
  259. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_error.py +0 -0
  260. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_instance.py +0 -0
  261. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_policy.py +0 -0
  262. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_row_merger.py +0 -0
  263. {google_cloud_bigtable-2.42.0 → google_cloud_bigtable-2.43.0}/tests/unit/v2_client/test_row_set.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-bigtable
3
- Version: 2.42.0
3
+ Version: 2.43.0
4
4
  Summary: Google Cloud Bigtable API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigtable
6
6
  Author: Google LLC
@@ -186,6 +186,13 @@ class MutationsBatcher(object):
186
186
 
187
187
  Note on thread safety: The same :class:`MutationBatcher` cannot be shared by multiple end-user threads.
188
188
 
189
+ .. warning::
190
+
191
+ If using ``MutationsBatcher``, please ensure you are using
192
+ ``google-cloud-bigtable >= 2.42.0``, or consider migrating to the
193
+ batcher provided by the synchronous/asynchronous data client
194
+ (:mod:`google.cloud.bigtable.data`).
195
+
189
196
  :type table: class
190
197
  :param table: class:`~google.cloud.bigtable.table.Table`.
191
198
 
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "2.42.0" # {x-release-please-version}
16
+ __version__ = "2.43.0" # {x-release-please-version}
@@ -231,7 +231,7 @@ class _SetDeleteRow(Row):
231
231
  else:
232
232
  delete_kwargs = {}
233
233
  if time_range is not None:
234
- delete_kwargs["time_range"] = time_range.to_pb()
234
+ delete_kwargs["time_range"] = time_range._to_pb()
235
235
 
236
236
  to_append = []
237
237
  for column in columns:
@@ -602,7 +602,7 @@ class ConditionalRow(_SetDeleteRow):
602
602
  resp = data_client.check_and_mutate_row(
603
603
  table_name=self._table.name,
604
604
  row_key=self._row_key,
605
- predicate_filter=self._filter.to_pb(),
605
+ predicate_filter=self._filter._to_pb(),
606
606
  app_profile_id=self._table._app_profile_id,
607
607
  true_mutations=true_mutations,
608
608
  false_mutations=false_mutations,
@@ -0,0 +1,232 @@
1
+ # Copyright 2016 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ """Filters for Google Cloud Bigtable Row classes."""
16
+
17
+ import struct
18
+
19
+ from google.cloud.bigtable.data.row_filters import ( # noqa: F401
20
+ RowFilter,
21
+ SinkFilter,
22
+ _BoolFilter,
23
+ PassAllFilter,
24
+ BlockAllFilter,
25
+ _RegexFilter,
26
+ RowKeyRegexFilter,
27
+ RowSampleFilter,
28
+ FamilyNameRegexFilter,
29
+ ColumnQualifierRegexFilter,
30
+ TimestampRange,
31
+ TimestampRangeFilter as BaseTimestampRangeFilter,
32
+ ColumnRangeFilter as BaseColumnRangeFilter,
33
+ ValueRegexFilter,
34
+ ValueRangeFilter,
35
+ ValueBitmaskFilter,
36
+ _CellCountFilter,
37
+ CellsRowOffsetFilter,
38
+ CellsRowLimitFilter,
39
+ CellsColumnLimitFilter,
40
+ StripValueTransformerFilter,
41
+ ApplyLabelFilter,
42
+ _FilterCombination,
43
+ RowFilterChain,
44
+ RowFilterUnion,
45
+ ConditionalRowFilter as BaseConditionalRowFilter,
46
+ )
47
+
48
+ _PACK_I64 = struct.Struct(">q").pack
49
+
50
+
51
+ def _deprecated_to_pb(self):
52
+ import warnings
53
+
54
+ warnings.warn(
55
+ "`to_pb()` is deprecated and will be removed in a future release. "
56
+ "Filter objects should be passed directly to Bigtable client read and query "
57
+ "methods without manual protobuf conversion.",
58
+ DeprecationWarning,
59
+ stacklevel=2,
60
+ )
61
+ return self._to_pb()
62
+
63
+
64
+ # Provide to_pb alias with DeprecationWarning for backwards compatibility with legacy client code
65
+ RowFilter.to_pb = _deprecated_to_pb # type: ignore[attr-defined]
66
+ TimestampRange.to_pb = _deprecated_to_pb # type: ignore[attr-defined]
67
+
68
+
69
+ class _MappableAttributesMixin:
70
+ """
71
+ Mixin for classes that need some of their attribute names remapped.
72
+
73
+ This is for taking some of the classes from the data client row filters
74
+ that are 1:1 with their legacy client counterparts but with some of their
75
+ attributes renamed. To use in a class, override the base class with this mixin
76
+ class and define a map _attribute_map from legacy client attributes to data client
77
+ attributes.
78
+
79
+ Attributes are remapped and redefined in __init__ as well as getattr/setattr.
80
+ """
81
+
82
+ def __init__(self, *args, **kwargs):
83
+ new_kwargs = {self._attribute_map.get(k, k): v for (k, v) in kwargs.items()}
84
+ super(_MappableAttributesMixin, self).__init__(*args, **new_kwargs)
85
+
86
+ def __getattr__(self, name):
87
+ if name not in self._attribute_map:
88
+ raise AttributeError
89
+ return getattr(self, self._attribute_map[name])
90
+
91
+ def __setattr__(self, name, value):
92
+ attribute = self._attribute_map.get(name, name)
93
+ super(_MappableAttributesMixin, self).__setattr__(attribute, value)
94
+
95
+
96
+ # The classes defined below are to provide constructors and members
97
+ # that have an interface that does not match the one used by the data
98
+ # client, for backwards compatibility purposes.
99
+
100
+ # Each underscored class is an ABC. Make them into classes that can be
101
+ # instantiated with a placeholder to_dict method for consistency.
102
+
103
+
104
+ class TimestampRangeFilter(BaseTimestampRangeFilter):
105
+ """Row filter that limits cells to a range of time.
106
+
107
+ :type range_: :class:`TimestampRange`
108
+ :param range_: Range of time that cells should match against.
109
+ """
110
+
111
+ def __init__(self, range_):
112
+ self.range_ = range_
113
+
114
+
115
+ class ExactValueFilter(ValueRegexFilter):
116
+ """Row filter for an exact value.
117
+
118
+
119
+ :type value: bytes or str or int
120
+ :param value:
121
+ a literal string encodable as ASCII, or the
122
+ equivalent bytes, or an integer (which will be packed into 8-bytes).
123
+ """
124
+
125
+ def __init__(self, value):
126
+ if isinstance(value, int):
127
+ value = _PACK_I64(value)
128
+ super(ExactValueFilter, self).__init__(value)
129
+
130
+
131
+ class ColumnRangeFilter(_MappableAttributesMixin, BaseColumnRangeFilter):
132
+ """A row filter to restrict to a range of columns.
133
+
134
+ Both the start and end column can be included or excluded in the range.
135
+ By default, we include them both, but this can be changed with optional
136
+ flags.
137
+
138
+ :type column_family_id: str
139
+ :param column_family_id: The column family that contains the columns. Must
140
+ be of the form ``[_a-zA-Z0-9][-_.a-zA-Z0-9]*``.
141
+
142
+ :type start_column: bytes
143
+ :param start_column: The start of the range of columns. If no value is
144
+ used, the backend applies no upper bound to the
145
+ values.
146
+
147
+ :type end_column: bytes
148
+ :param end_column: The end of the range of columns. If no value is used,
149
+ the backend applies no upper bound to the values.
150
+
151
+ :type inclusive_start: bool
152
+ :param inclusive_start: Boolean indicating if the start column should be
153
+ included in the range (or excluded). Defaults
154
+ to :data:`True` if ``start_column`` is passed and
155
+ no ``inclusive_start`` was given.
156
+
157
+ :type inclusive_end: bool
158
+ :param inclusive_end: Boolean indicating if the end column should be
159
+ included in the range (or excluded). Defaults
160
+ to :data:`True` if ``end_column`` is passed and
161
+ no ``inclusive_end`` was given.
162
+
163
+ :raises: :class:`ValueError <exceptions.ValueError>` if ``inclusive_start``
164
+ is set but no ``start_column`` is given or if ``inclusive_end``
165
+ is set but no ``end_column`` is given
166
+ """
167
+
168
+ _attribute_map = {
169
+ "column_family_id": "family_id",
170
+ "start_column": "start_qualifier",
171
+ "end_column": "end_qualifier",
172
+ }
173
+
174
+
175
+ class ConditionalRowFilter(_MappableAttributesMixin, BaseConditionalRowFilter):
176
+ """Conditional row filter which exhibits ternary behavior.
177
+
178
+ Executes one of two filters based on another filter. If the ``base_filter``
179
+ returns any cells in the row, then ``true_filter`` is executed. If not,
180
+ then ``false_filter`` is executed.
181
+
182
+ .. note::
183
+
184
+ The ``base_filter`` does not execute atomically with the true and false
185
+ filters, which may lead to inconsistent or unexpected results.
186
+
187
+ Additionally, executing a :class:`ConditionalRowFilter` has poor
188
+ performance on the server, especially when ``false_filter`` is set.
189
+
190
+ :type base_filter: :class:`RowFilter`
191
+ :param base_filter: The filter to condition on before executing the
192
+ true/false filters.
193
+
194
+ :type true_filter: :class:`RowFilter`
195
+ :param true_filter: (Optional) The filter to execute if there are any cells
196
+ matching ``base_filter``. If not provided, no results
197
+ will be returned in the true case.
198
+
199
+ :type false_filter: :class:`RowFilter`
200
+ :param false_filter: (Optional) The filter to execute if there are no cells
201
+ matching ``base_filter``. If not provided, no results
202
+ will be returned in the false case.
203
+ """
204
+
205
+ _attribute_map = {"base_filter": "predicate_filter"}
206
+
207
+
208
+ __all__ = (
209
+ "RowFilter",
210
+ "SinkFilter",
211
+ "PassAllFilter",
212
+ "BlockAllFilter",
213
+ "RowKeyRegexFilter",
214
+ "RowSampleFilter",
215
+ "FamilyNameRegexFilter",
216
+ "ColumnQualifierRegexFilter",
217
+ "TimestampRange",
218
+ "TimestampRangeFilter",
219
+ "ColumnRangeFilter",
220
+ "ValueRegexFilter",
221
+ "ExactValueFilter",
222
+ "ValueRangeFilter",
223
+ "ValueBitmaskFilter",
224
+ "CellsRowOffsetFilter",
225
+ "CellsRowLimitFilter",
226
+ "CellsColumnLimitFilter",
227
+ "StripValueTransformerFilter",
228
+ "ApplyLabelFilter",
229
+ "RowFilterChain",
230
+ "RowFilterUnion",
231
+ "ConditionalRowFilter",
232
+ )
@@ -873,6 +873,13 @@ class Table(object):
873
873
  :end-before: [END bigtable_api_mutations_batcher]
874
874
  :dedent: 4
875
875
 
876
+ .. warning::
877
+
878
+ If using ``MutationsBatcher``, please ensure you are using
879
+ ``google-cloud-bigtable >= 2.42.0``, or consider migrating to the
880
+ batcher provided by the synchronous/asynchronous data client
881
+ (:mod:`google.cloud.bigtable.data`).
882
+
876
883
  :type flush_count: int
877
884
  :param flush_count: (Optional) Maximum number of rows per batch. If it
878
885
  reaches the max number of rows it calls finish_batch() to
@@ -1328,7 +1335,7 @@ def _create_row_request(
1328
1335
  raise ValueError("Row range and row set cannot be set simultaneously")
1329
1336
 
1330
1337
  if filter_ is not None:
1331
- request_kwargs["filter"] = filter_.to_pb()
1338
+ request_kwargs["filter"] = filter_._to_pb()
1332
1339
  if limit is not None:
1333
1340
  request_kwargs["rows_limit"] = limit
1334
1341
  if app_profile_id is not None:
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "2.42.0" # {x-release-please-version}
16
+ __version__ = "2.43.0" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "2.42.0" # {x-release-please-version}
16
+ __version__ = "2.43.0" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "2.42.0" # {x-release-please-version}
16
+ __version__ = "2.43.0" # {x-release-please-version}
@@ -84,6 +84,9 @@ class FeatureFlags(proto.Message):
84
84
  sessions_required (bool):
85
85
  Internal flag to force sessions for internal
86
86
  projects.
87
+ microsecond_timestamp (bool):
88
+ Optional. Indicates whether the client
89
+ supports microsecond precision timestamps.
87
90
  """
88
91
 
89
92
  reverse_scans: bool = proto.Field(
@@ -134,6 +137,10 @@ class FeatureFlags(proto.Message):
134
137
  proto.BOOL,
135
138
  number=13,
136
139
  )
140
+ microsecond_timestamp: bool = proto.Field(
141
+ proto.BOOL,
142
+ number=14,
143
+ )
137
144
 
138
145
 
139
146
  __all__ = tuple(sorted(__protobuf__.manifest))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-bigtable
3
- Version: 2.42.0
3
+ Version: 2.43.0
4
4
  Summary: Google Cloud Bigtable API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigtable
6
6
  Author: Google LLC
@@ -283,7 +283,7 @@ def _delete_cells_helper(time_range=None):
283
283
  )
284
284
  )
285
285
  if time_range is not None:
286
- expected_pb.delete_from_column.time_range._pb.CopyFrom(time_range.to_pb()._pb)
286
+ expected_pb.delete_from_column.time_range._pb.CopyFrom(time_range._to_pb()._pb)
287
287
  assert row._pb_mutations == [expected_pb]
288
288
 
289
289
 
@@ -937,7 +937,7 @@ def test_RRRM_build_updated_request(rrrm_data):
937
937
  row_filter = RowSampleFilter(0.33)
938
938
  last_scanned_key = b"row_key25"
939
939
  request = _ReadRowsRequestPB(
940
- filter=row_filter.to_pb(),
940
+ filter=row_filter._to_pb(),
941
941
  rows_limit=8,
942
942
  table_name=TABLE_NAME,
943
943
  app_profile_id="app-profile-id-1",
@@ -950,7 +950,7 @@ def test_RRRM_build_updated_request(rrrm_data):
950
950
 
951
951
  expected_result = _ReadRowsRequestPB(
952
952
  table_name=TABLE_NAME,
953
- filter=row_filter.to_pb(),
953
+ filter=row_filter._to_pb(),
954
954
  rows_limit=6,
955
955
  app_profile_id="app-profile-id-1",
956
956
  )
@@ -985,7 +985,7 @@ def test_RRRM_build_updated_request_no_start_key():
985
985
  row_filter = RowSampleFilter(0.33)
986
986
  last_scanned_key = b"row_key25"
987
987
  request = _ReadRowsRequestPB(
988
- filter=row_filter.to_pb(), rows_limit=8, table_name=TABLE_NAME
988
+ filter=row_filter._to_pb(), rows_limit=8, table_name=TABLE_NAME
989
989
  )
990
990
  row_range1 = types.RowRange(end_key_open=b"row_key29")
991
991
  request.rows.row_ranges.append(row_range1)
@@ -995,7 +995,7 @@ def test_RRRM_build_updated_request_no_start_key():
995
995
  result = request_manager.build_updated_request()
996
996
 
997
997
  expected_result = _ReadRowsRequestPB(
998
- table_name=TABLE_NAME, filter=row_filter.to_pb(), rows_limit=6
998
+ table_name=TABLE_NAME, filter=row_filter._to_pb(), rows_limit=6
999
999
  )
1000
1000
 
1001
1001
  row_range2 = types.RowRange(
@@ -1013,7 +1013,7 @@ def test_RRRM_build_updated_request_no_end_key():
1013
1013
  row_filter = RowSampleFilter(0.33)
1014
1014
  last_scanned_key = b"row_key25"
1015
1015
  request = _ReadRowsRequestPB(
1016
- filter=row_filter.to_pb(), rows_limit=8, table_name=TABLE_NAME
1016
+ filter=row_filter._to_pb(), rows_limit=8, table_name=TABLE_NAME
1017
1017
  )
1018
1018
 
1019
1019
  row_range1 = types.RowRange(start_key_closed=b"row_key20")
@@ -1024,7 +1024,7 @@ def test_RRRM_build_updated_request_no_end_key():
1024
1024
  result = request_manager.build_updated_request()
1025
1025
 
1026
1026
  expected_result = _ReadRowsRequestPB(
1027
- table_name=TABLE_NAME, filter=row_filter.to_pb(), rows_limit=6
1027
+ table_name=TABLE_NAME, filter=row_filter._to_pb(), rows_limit=6
1028
1028
  )
1029
1029
  row_range2 = types.RowRange(start_key_open=last_scanned_key)
1030
1030
  expected_result.rows.row_ranges.append(row_range2)
@@ -1038,7 +1038,7 @@ def test_RRRM_build_updated_request_rows():
1038
1038
  row_filter = RowSampleFilter(0.33)
1039
1039
  last_scanned_key = b"row_key4"
1040
1040
  request = _ReadRowsRequestPB(
1041
- filter=row_filter.to_pb(), rows_limit=5, table_name=TABLE_NAME
1041
+ filter=row_filter._to_pb(), rows_limit=5, table_name=TABLE_NAME
1042
1042
  )
1043
1043
  request.rows.row_keys.extend(
1044
1044
  [b"row_key1", b"row_key2", b"row_key4", b"row_key5", b"row_key7", b"row_key9"]
@@ -1049,7 +1049,7 @@ def test_RRRM_build_updated_request_rows():
1049
1049
  result = request_manager.build_updated_request()
1050
1050
 
1051
1051
  expected_result = _ReadRowsRequestPB(
1052
- table_name=TABLE_NAME, filter=row_filter.to_pb(), rows_limit=2
1052
+ table_name=TABLE_NAME, filter=row_filter._to_pb(), rows_limit=2
1053
1053
  )
1054
1054
  expected_result.rows.row_keys.extend([b"row_key5", b"row_key7", b"row_key9"])
1055
1055