Skip to content

Commit 5e2300f

Browse files
committed
Renaming all remaining connection.py modules as _http.py.
1 parent 0a311f7 commit 5e2300f

File tree

39 files changed

+84
-130
lines changed

39 files changed

+84
-130
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

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

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()
File renamed without changes.

language/google/cloud/language/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
import warnings
1919

2020
from google.cloud import client as client_module
21-
from google.cloud.language.connection import Connection
21+
22+
from google.cloud.language._http import Connection
2223
from google.cloud.language.document import Document
2324

2425

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.language.connection import Connection
22+
from google.cloud.language._http import Connection
2323

2424
return Connection
2525

language/unit_tests/test_client.py

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

3838
def test_ctor(self):
39-
from google.cloud.language.connection import Connection
39+
from google.cloud.language._http import Connection
4040

4141
creds = make_mock_credentials()
4242
http = object()

language/unit_tests/test_document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _get_entities(include_entities):
9797

9898
def make_mock_client(response):
9999
import mock
100-
from google.cloud.language.connection import Connection
100+
from google.cloud.language._http import Connection
101101
from google.cloud.language.client import Client
102102

103103
connection = mock.Mock(spec=Connection)

0 commit comments

Comments
 (0)