def list_asn(self, auth, asn=None):

        if asn is None:
            asn = {}

        self._logger.debug("list_asn called; asn: %s" % str(asn))

        sql = "SELECT * FROM ip_net_asn"
        params = list()

        where, params = self._expand_asn_spec(asn)
        if len(params) > 0:
            sql += " WHERE " + where

        sql += " ORDER BY asn ASC"

        self._execute(sql, params)

        res = list()
        for row in self._curs_pg:
            res.append(dict(row))

        return res
motions: lowercase mode is alpha, digit and _, uppercase is delim by spaces
dataset/ETHPy150Open SpriteLink/NIPAP/nipap/nipap/backend.py/Nipap.list_asn--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/pyreadline/test/vi_test.py/Tests.test_motion_end