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 1818
1919import pkg_resources
2020
21- __version__ = pkg_resources .get_distribution ("google-cloud-spanner" ).version
21+ __version__ : str = pkg_resources .get_distribution ("google-cloud-spanner" ).version
2222
2323from .services .spanner import SpannerClient
2424from .types .commit_response import CommitResponse
Original file line number Diff line number Diff line change 1717import google .api_core .operation
1818from google .api_core .exceptions import InvalidArgument
1919import re
20+ import typing
2021
2122from google .protobuf .empty_pb2 import Empty
2223from google .protobuf .field_mask_pb2 import FieldMask
4243DEFAULT_NODE_COUNT = 1
4344PROCESSING_UNITS_PER_NODE = 1000
4445
45- _OPERATION_METADATA_MESSAGES = (
46+ _OPERATION_METADATA_MESSAGES : typing . Tuple = (
4647 backup .Backup ,
4748 backup .CreateBackupMetadata ,
4849 backup .CopyBackupMetadata ,
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class _SnapshotBase(_SessionWrapper):
102102 """
103103
104104 _multi_use = False
105- _read_only = True
105+ _read_only : bool = True
106106 _transaction_id = None
107107 _read_request_count = 0
108108 _execute_sql_count = 0
You can’t perform that action at this time.
0 commit comments