summaryrefslogtreecommitdiff
path: root/dns/e164.pyi
blob: 37a99fed45b10215ad8d50cec0151896debbbbaf (plain)
1
2
3
4
5
6
7
8
9
10
from typing import Optional, Iterable
from . import name, resolver
def from_e164(text : str, origin=name.Name(".")) -> name.Name:
    ...

def to_e164(name : name.Name, origin : Optional[name.Name] = None, want_plus_prefix=True) -> str:
    ...

def query(number : str, domains : Iterable[str], resolver : Optional[resolver.Resolver] = None) -> resolver.Answer:
    ...