def __init__(self, priority=0, weight=0, port=0, target=b'', ttl=None):
        """
        @param target: See L{Record_SRV.target}
        @type target: L{bytes} or L{unicode}
        """
        self.priority = int(priority)
        self.weight = int(weight)
        self.port = int(port)
        self.target = Name(target)
        self.ttl = str2time(ttl)

        @param target: See L{Record_SRV.target}
        @type target: L{bytes} or L{unicode}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/dns.py