code: async def get_local_dids(self) -> Sequence[DIDInfo]:
          
  
          LOGGER.debug('Wallet.get_local_dids >>>')
  
          dids_with_meta = json.loads(did.list_my_dids_with_meta(self.handle))  # list
  
          rv = []
          for did_with_meta in dids_with_meta:
              meta = json.loads(did_with_meta['metadata']) if did_with_meta['metadata'] else {}
              if meta.get('anchor', False):
                  continue  # exclude anchor DIDs past and present
              rv.append(DIDInfo(did_with_meta['did'], did_with_meta['verkey'], meta))
  
          LOGGER.debug('Wallet.get_local_dids <<< %s', rv)
          return rv
docs: Get list of DIDInfos for local DIDs.
  
          :return: list of local DIDInfos