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

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

src/p/y/Pyfa-HEAD/service/fit.py   Pyfa(Download)
    def toggleBoostFit(self, fitID):
        fit = eos.db.getFit(fitID)
        fit.booster = not fit.booster
        eos.db.commit()
 
    def renameFit(self, fitID, newName):
        fit = eos.db.getFit(fitID)
        fit.name = newName
        eos.db.commit()
        fit = eos.db.getFit(fitID)
        fit.factorReload = not fit.factorReload
        eos.db.commit()
        self.recalc(fit)
 
                fit.damagePattern = self.pattern
 
        eos.db.commit()
        self.recalc(fit, withBoosters=True)
 
            self.recalc(fit, withBoosters=True)
            fit.fill()
            eos.db.commit()
            fit.inited = True
        return fit

src/p/y/Pyfa-HEAD/service/character.py   Pyfa(Download)
    def all0(self):
        all0 = eos.types.Character.getAll0()
        eos.db.commit()
        return all0
 
    def all5(self):
        all5 = eos.types.Character.getAll5()
        eos.db.commit()
        return all5
 
    def getCharacterList(self):
        baseChars = [eos.types.Character.getAll0(), eos.types.Character.getAll5()]
        # Flush incase all0 & all5 weren't in the db yet
        eos.db.commit()
        sFit = service.Fit.getInstance()
    def rename(self, charID, newName):
        char = eos.db.getCharacter(charID)
        char.name = newName
        eos.db.commit()
 
    def delete(self, charID):
        char = eos.db.getCharacter(charID)
        eos.db.commit()
        eos.db.remove(char)
 

src/p/y/Pyfa-HEAD/service/fleet.py   Pyfa(Download)
    def renameFleet(self, fleet, newName):
        fleet.name = newName
        eos.db.commit()
 
    def copyFleet(self, fleet):

src/p/y/Pyfa-HEAD/service/damagePattern.py   Pyfa(Download)
                else:
                    eos.db.save(pattern)
            eos.db.commit()
        except:
            pass

src/p/y/Pyfa-HEAD/service/market.py   Pyfa(Download)
            except:
                pass
            eos.db.commit()
 
        self.priceWorkerThread.trigger(requests, cb)