File tree Expand file tree Collapse file tree 6 files changed +16
-11
lines changed Expand file tree Collapse file tree 6 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
import os
16
-
17
16
import random
18
17
19
- import pytest
20
18
from google .cloud import bigtable
19
+ import pytest
20
+
21
21
from main import main
22
22
23
23
PROJECT = os .environ ['GCLOUD_PROJECT' ]
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
16
+ # [START bigtable_filters_limit_timestamp_range]
17
+ import datetime
18
+
19
+ # [END bigtable_filters_limit_timestamp_range]
20
+
16
21
# [START bigtable_filters_limit_row_sample]
17
22
# [START bigtable_filters_limit_row_regex]
18
23
# [START bigtable_filters_limit_cells_per_col]
53
58
# [END bigtable_filters_composing_interleave]
54
59
# [END bigtable_filters_composing_condition]
55
60
56
- # [START bigtable_filters_limit_timestamp_range]
57
- import datetime
58
-
59
-
60
- # [END bigtable_filters_limit_timestamp_range]
61
61
62
62
# [START bigtable_filters_limit_row_sample]
63
63
def filter_limit_row_sample (project_id , instance_id , table_id ):
Original file line number Diff line number Diff line change 12
12
# limitations under the License.
13
13
14
14
15
+ import datetime
15
16
import os
16
17
import uuid
17
18
18
- import datetime
19
- import pytest
20
19
from google .cloud import bigtable
20
+ import pytest
21
21
22
22
import filter_snippets
23
23
24
+
24
25
PROJECT = os .environ ['GCLOUD_PROJECT' ]
25
26
BIGTABLE_INSTANCE = os .environ ['BIGTABLE_INSTANCE' ]
26
27
TABLE_ID_PREFIX = 'mobile-time-series-{}'
Original file line number Diff line number Diff line change 14
14
import datetime
15
15
import os
16
16
import uuid
17
- import pytest
18
17
19
18
from google .cloud import bigtable
19
+ import pytest
20
20
21
21
import read_snippets
22
22
23
+
23
24
PROJECT = os .environ ['GCLOUD_PROJECT' ]
24
25
BIGTABLE_INSTANCE = os .environ ['BIGTABLE_INSTANCE' ]
25
26
TABLE_ID_PREFIX = 'mobile-time-series-{}'
Original file line number Diff line number Diff line change 12
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
+
15
16
# [START bigtable_writes_simple]
16
17
import datetime
18
+
17
19
from google .cloud import bigtable
18
20
19
21
Original file line number Diff line number Diff line change 14
14
15
15
import os
16
16
import uuid
17
- import pytest
18
17
19
18
import backoff
20
19
from google .api_core .exceptions import DeadlineExceeded
21
20
from google .cloud import bigtable
21
+ import pytest
22
22
23
23
from .write_batch import write_batch
24
24
from .write_conditionally import write_conditional
25
25
from .write_increment import write_increment
26
26
from .write_simple import write_simple
27
27
28
+
28
29
PROJECT = os .environ ['GCLOUD_PROJECT' ]
29
30
BIGTABLE_INSTANCE = os .environ ['BIGTABLE_INSTANCE' ]
30
31
TABLE_ID_PREFIX = 'mobile-time-series-{}'
You can’t perform that action at this time.
0 commit comments