def __init__(self, code=AccountingRequest, id=None, secret=six.b(''), authenticator=None, **attributes): AcctPacket.__init__(self, code, id, secret, authenticator, **attributes)
def __init__(self, code=AccountingRequest, id=None, secret=six.b(''), authenticator=None, **attributes): AcctPacket.__init__(self, code, id, secret, authenticator, **attributes) self.deferred = Deferred() self.source_user = None self.vendor_id = 0 self.client_macaddr = None self.ticket = {} self.created = datetime.datetime.now()