File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 18
18
19
19
import pkg_resources
20
20
21
- __version__ = pkg_resources .get_distribution ("google-cloud-spanner" ).version
21
+ __version__ : str = pkg_resources .get_distribution ("google-cloud-spanner" ).version
22
22
23
23
from .services .spanner import SpannerClient
24
24
from .types .commit_response import CommitResponse
Original file line number Diff line number Diff line change 17
17
import google .api_core .operation
18
18
from google .api_core .exceptions import InvalidArgument
19
19
import re
20
+ import typing
20
21
21
22
from google .protobuf .empty_pb2 import Empty
22
23
from google .protobuf .field_mask_pb2 import FieldMask
42
43
DEFAULT_NODE_COUNT = 1
43
44
PROCESSING_UNITS_PER_NODE = 1000
44
45
45
- _OPERATION_METADATA_MESSAGES = (
46
+ _OPERATION_METADATA_MESSAGES : typing . Tuple = (
46
47
backup .Backup ,
47
48
backup .CreateBackupMetadata ,
48
49
backup .CopyBackupMetadata ,
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class _SnapshotBase(_SessionWrapper):
102
102
"""
103
103
104
104
_multi_use = False
105
- _read_only = True
105
+ _read_only : bool = True
106
106
_transaction_id = None
107
107
_read_request_count = 0
108
108
_execute_sql_count = 0
You can’t perform that action at this time.
0 commit comments