We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a1d93 commit 9c73a06Copy full SHA for 9c73a06
src/aleph/sdk/client/services/base.py
@@ -3,8 +3,6 @@
3
4
from pydantic import BaseModel
5
6
-from aleph.sdk.conf import settings
7
-
8
if TYPE_CHECKING:
9
from aleph.sdk.client.http import AlephHttpClient
10
src/aleph/sdk/client/services/dns.py
@@ -36,7 +36,9 @@ async def get_public_dns_by_host(self, crn_hostname):
36
Get all the public dns with filter on crn_url
37
"""
38
async with aiohttp.ClientSession() as session:
39
- async with session.get(sanitize_url(settings.DNS_API), params={"crn_url": crn_hostname}) as resp:
+ async with session.get(
40
+ sanitize_url(settings.DNS_API), params={"crn_url": crn_hostname}
41
+ ) as resp:
42
resp.raise_for_status()
43
raw = await resp.json()
44
0 commit comments