Skip to content

Commit 5ede346

Browse files
authored
Merge pull request googleapis#3033 from dhermes/no-more-connection-modules
Renaming all remaining connection.py modules as _http.py.
2 parents ff6a77c + 3470b4b commit 5ede346

File tree

47 files changed

+84
-189
lines changed

Some content is hidden

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

47 files changed

+84
-189
lines changed

dns/google/cloud/dns/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
from google.cloud.dns.zone import Changes
2929
from google.cloud.dns.client import Client
30-
from google.cloud.dns.connection import Connection
3130
from google.cloud.dns.zone import ManagedZone
3231
from google.cloud.dns.resource_record_set import ResourceRecordSet
3332

File renamed without changes.

dns/google/cloud/dns/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717

1818
from google.cloud.client import ClientWithProject
19-
from google.cloud.dns.connection import Connection
19+
20+
from google.cloud.dns._http import Connection
2021
from google.cloud.dns.zone import ManagedZone
2122
from google.cloud.iterator import HTTPIterator
2223

dns/unit_tests/test_connection.py renamed to dns/unit_tests/test__http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TestConnection(unittest.TestCase):
1919

2020
@staticmethod
2121
def _get_target_class():
22-
from google.cloud.dns.connection import Connection
22+
from google.cloud.dns._http import Connection
2323

2424
return Connection
2525

dns/unit_tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _make_one(self, *args, **kw):
3838
return self._get_target_class()(*args, **kw)
3939

4040
def test_ctor(self):
41-
from google.cloud.dns.connection import Connection
41+
from google.cloud.dns._http import Connection
4242

4343
creds = _make_credentials()
4444
http = object()

docs/dns-client.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ DNS Client
44
.. automodule:: google.cloud.dns.client
55
:members:
66
:show-inheritance:
7-
8-
Connection
9-
~~~~~~~~~~
10-
11-
.. automodule:: google.cloud.dns.connection
12-
:members:
13-
:show-inheritance:

docs/language-client.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ Natural Language Client
44
.. automodule:: google.cloud.language.client
55
:members:
66
:show-inheritance:
7-
8-
Connection
9-
~~~~~~~~~~
10-
11-
.. automodule:: google.cloud.language.connection
12-
:members:
13-
:show-inheritance:

docs/monitoring-client.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ Stackdriver Monitoring Client
44
.. automodule:: google.cloud.monitoring.client
55
:members:
66
:show-inheritance:
7-
8-
Connection
9-
~~~~~~~~~~
10-
11-
.. automodule:: google.cloud.monitoring.connection
12-
:members:
13-
:show-inheritance:

docs/resource-manager-client.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,3 @@ Client
88
.. automodule:: google.cloud.resource_manager.client
99
:members:
1010
:show-inheritance:
11-
12-
Connection
13-
~~~~~~~~~~
14-
15-
.. automodule:: google.cloud.resource_manager.connection
16-
:members:
17-
:show-inheritance:

docs/runtimeconfig-client.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ Runtime Configuration Client
44
.. automodule:: google.cloud.runtimeconfig.client
55
:members:
66
:show-inheritance:
7-
8-
Connection
9-
~~~~~~~~~~
10-
11-
.. automodule:: google.cloud.runtimeconfig.connection
12-
:members:
13-
:show-inheritance:

0 commit comments

Comments
 (0)