Skip to content

Commit d2ff0b9

Browse files
Spanner: Re-generate gapic and drop usage of gax (googleapis#4695)
1 parent 00eca14 commit d2ff0b9

45 files changed

Lines changed: 3246 additions & 3316 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

spanner/google/__init__.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
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-
"""Google namespace package."""
16-
171
try:
182
import pkg_resources
193
pkg_resources.declare_namespace(__name__)
204
except ImportError:
215
import pkgutil
22-
__path__ = pkgutil.extend_path(__path__, __name__)
6+
__path__ = pkgutil.extend_path(__path__, __name__)

spanner/google/cloud/__init__.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
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-
"""Google Cloud namespace package."""
16-
171
try:
182
import pkg_resources
193
pkg_resources.declare_namespace(__name__)
204
except ImportError:
215
import pkgutil
22-
__path__ = pkgutil.extend_path(__path__, __name__)
6+
__path__ = pkgutil.extend_path(__path__, __name__)

spanner/google/cloud/spanner_admin_database_v1/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Copyright 2017, Google LLC All rights reserved.
1+
# Copyright 2017 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
7+
# https://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -27,4 +27,5 @@ class DatabaseAdminClient(database_admin_client.DatabaseAdminClient):
2727
__all__ = (
2828
'enums',
2929
'types',
30-
'DatabaseAdminClient', )
30+
'DatabaseAdminClient',
31+
)

0 commit comments

Comments
 (0)