Retrieves the bot mapping passed to :meth:`send_bot_help`.
540968
def get_bot_mapping(self):
        """"""
        bot = self.context.bot
        mapping = {
            cog: cog.get_commands()
            for cog in bot.cogs.values()
        }
        mapping[None] = [c for c in bot.all_commands.values() if c.cog is None]
        return mapping
978315
def getInstructions(self):
        '''
        
        '''

        self._instructions = self._client.getInstructions(self.setID)
        return self._instructions
1344297
def get_help_values(self):
        
        help_values = {}
        for k, v in self.help_context.items():
            if isinstance(v, tuple) and len(v) == 2:
                help_values[k] = v[1]
            else:
                help_values[k] = u"<%s>" % k
        return help_values
644091
def _GetRoutingMap(self, router):
    """"""

    try:
      routing_map = self._routing_maps_cache.Get(router.__class__)
    except KeyError:
      routing_map = self._BuildHttpRoutingMap(router.__class__)
      self._routing_maps_cache.Put(router.__class__, routing_map)

    return routing_map
353558
def orders(self):
        
        return [order_cmd for order_cmd in dir(self.handler)
                if getattr(getattr(self.handler, order_cmd), "bot_order", False)]
426189
def get(self, request, id, format=None):
        
        bot = self.get_bot(id, request.user)
        serializer = BotSerializer(bot)
        return Response(serializer.data)
146436
def get(self, request, bot_id, format=None):
        
        return super(MessengerBotList, self).get(request, bot_id, format)
998108
def get(self, request, bot_id, handler_id, id, format=None):
        
        return super(UrlParameterDetail, self).get(request, bot_id, handler_id, id, format)
236232
def bots_delete(self, bot):
        
        self.client.bots.__getattr__(bot.name).__call__(_method="DELETE", _params=dict(botName=bot.name))
22394
def get(self, request, bot_id, id, format=None):
                
        return super(TelegramBotDetail, self).get(request, bot_id, id, format)
374860
def _get_sockets(bots):
    """"""
    sockets = {}
    #sockets[sys.stdin] = 'stdio'
    for bot in bots:
        bot.connect()
        sockets[bot.client.Connection._sock] = bot
    return sockets
320921
async def execute_response(self, bot):
        
        method_name = helper.HelperMode.apply(self.method, helper.HelperMode.snake_case)
        method = getattr(bot, method_name, None)
        if method:
            return await method(**self.cleanup())
        return await bot.request(self.method, self.cleanup())
327453
def get_config_map(self, name):
        
        response = self.os.get_config_map(name)
        config_map_response = ConfigMapResponse(response.json())
        return config_map_response
1329371
def bots_list(self):
        
        data = self.client.bots()
        return [Bot(item) for item in data]
1032250
def _mapper(self):
        
        return {
            'card': Payment.Card,
            'customer': Payment.Customer,
            'hosted_payment': Payment.HostedPayment,
            'notification': Payment.Notification,
            'failure': Payment.Failure,
        }
252311
def get(self, request, bot_id, id, format=None):
                
        return super(EnvironmentVarDetail, self).get(request, bot_id, id, format)
1037245
def mapping(self):
        

        return (
            self._user_id_mapping,
            self._user_feature_mapping,
            self._item_id_mapping,
            self._item_feature_mapping,
        )