'Retrieve the software version of a remote agent.
Arguments:
jid -- The JID of the entity to query.'

def get_version(self, jid, ifrom=None, block=True, timeout=None, callback=None):

    iq = self.xmpp.Iq()
    iq['to'] = jid
    iq['from'] = ifrom
    iq['type'] = 'get'
    iq['query'] = Version.namespace
    return iq.send(block=block, timeout=timeout, callback=callback)
