Fix missing async def in function.
This commit is contained in:
parent
3502480384
commit
c55e9279ac
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ async def resolve(host, port=None, service=None, proto='tcp',
|
|||
|
||||
return results
|
||||
|
||||
def get_A(host, resolver=None, use_aiodns=True, loop=None):
|
||||
async def get_A(host, resolver=None, use_aiodns=True, loop=None):
|
||||
"""Lookup DNS A records for a given host.
|
||||
|
||||
If ``resolver`` is not provided, or is ``None``, then resolution will
|
||||
|
|
Loading…
Reference in a new issue