code: async def ListKeys(self, entities, mode):
          '''
          entities : Entities
          mode : bool
          Returns -> typing.Sequence[~StringsResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='KeyManager',
                     request='ListKeys',
                     version=1,
                     params=_params)
          _params['entities'] = entities
          _params['mode'] = mode
          reply = await self.rpc(msg)
          return replync def ListKeys(self, entities, mode):
          '''
          entities : Entities
          mode : bool
          Returns -> typing.Sequence[~StringsResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='KeyManager',
                     request='ListKeys',
                     version=1,
                     params=_params)
          _params['entities'] = entities
          _params['mode'] = mode
          reply = await self.rpc(msg)
          return reply
docs: entities : Entities
          mode : bool
          Returns -> typing.Sequence[~StringsResult]