Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/y/Pyfa-HEAD/service/attribute.py   Pyfa(Download)
    def getAttributeInfo(self, identity):
        if isinstance(identity, (int, basestring)):
            info = eos.db.getAttributeInfo(identity, eager=("icon", "unit"))
        elif isinstance(identity, (int, float)):
            id = int(identity)
            info = eos.db.getAttributeInfo(id, eager=("icon", "unit"))

src/p/y/Pyfa-HEAD/eos/gamedata.py   Pyfa(Download)
            import eos.db
            for id in cls.MOVE_ATTRS:
                info.append(eos.db.getAttributeInfo(id))
 
        return info