File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515import os
16-
1716import random
1817
19- import pytest
2018from google .cloud import bigtable
19+ import pytest
20+
2121from main import main
2222
2323PROJECT = os .environ ['GCLOUD_PROJECT' ]
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16+ # [START bigtable_filters_limit_timestamp_range]
17+ import datetime
18+
19+ # [END bigtable_filters_limit_timestamp_range]
20+
1621# [START bigtable_filters_limit_row_sample]
1722# [START bigtable_filters_limit_row_regex]
1823# [START bigtable_filters_limit_cells_per_col]
5358# [END bigtable_filters_composing_interleave]
5459# [END bigtable_filters_composing_condition]
5560
56- # [START bigtable_filters_limit_timestamp_range]
57- import datetime
58-
59-
60- # [END bigtable_filters_limit_timestamp_range]
6161
6262# [START bigtable_filters_limit_row_sample]
6363def filter_limit_row_sample (project_id , instance_id , table_id ):
Original file line number Diff line number Diff line change 1212# limitations under the License.
1313
1414
15+ import datetime
1516import os
1617import uuid
1718
18- import datetime
19- import pytest
2019from google .cloud import bigtable
20+ import pytest
2121
2222import filter_snippets
2323
24+
2425PROJECT = os .environ ['GCLOUD_PROJECT' ]
2526BIGTABLE_INSTANCE = os .environ ['BIGTABLE_INSTANCE' ]
2627TABLE_ID_PREFIX = 'mobile-time-series-{}'
Original file line number Diff line number Diff line change 1414import datetime
1515import os
1616import uuid
17- import pytest
1817
1918from google .cloud import bigtable
19+ import pytest
2020
2121import read_snippets
2222
23+
2324PROJECT = os .environ ['GCLOUD_PROJECT' ]
2425BIGTABLE_INSTANCE = os .environ ['BIGTABLE_INSTANCE' ]
2526TABLE_ID_PREFIX = 'mobile-time-series-{}'
Original file line number Diff line number Diff line change 1212# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313# See the License for the specific language governing permissions and
1414# limitations under the License.
15+
1516# [START bigtable_writes_simple]
1617import datetime
18+
1719from google .cloud import bigtable
1820
1921
Original file line number Diff line number Diff line change 1414
1515import os
1616import uuid
17- import pytest
1817
1918import backoff
2019from google .api_core .exceptions import DeadlineExceeded
2120from google .cloud import bigtable
21+ import pytest
2222
2323from .write_batch import write_batch
2424from .write_conditionally import write_conditional
2525from .write_increment import write_increment
2626from .write_simple import write_simple
2727
28+
2829PROJECT = os .environ ['GCLOUD_PROJECT' ]
2930BIGTABLE_INSTANCE = os .environ ['BIGTABLE_INSTANCE' ]
3031TABLE_ID_PREFIX = 'mobile-time-series-{}'
You can’t perform that action at this time.
0 commit comments