code: def get_vcard(self, jid=None):
          
  
          iq = aioxmpp.IQ(
              type_=aioxmpp.IQType.GET,
              to=jid,
              payload=vcard_xso.VCard(),
          )
  
          try:
              return (yield from self.client.send(iq))
          except aioxmpp.XMPPCancelError as e:
              if e.condition in (
                      aioxmpp.ErrorCondition.FEATURE_NOT_IMPLEMENTED,
                      aioxmpp.ErrorCondition.ITEM_NOT_FOUND):
                  return vcard_xso.VCard()
              else:
                  raise
docs: Get the vCard stored for the jid `jid`. If `jid` is
          :data:`None` get the vCard of the connected entity.
  
          :param jid: the object to retrieve.
          :returns: the stored vCard.
  
          We mask a :class:`XMPPCancelError` in case it is
          ``feature-not-implemented`` or ``item-not-found`` and return
          an empty vCard, since this can be understood to be semantically
          equivalent.