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

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

src/p/y/Pyfa-HEAD/service/fleet.py   Pyfa(Download)
    def deleteFleet(self, fleet):
        eos.db.remove(fleet)
 
    def deleteFleetByID(self, ID):
        fleet = self.getFleetByID(ID)
                except KeyError:
                    pass
            eos.db.remove(squad)
        for wingID in wingIDs:
            wing = eos.db.getWing(wingID)
                except KeyError:
                    pass
            eos.db.remove(wing)
        for fleetID in fleetIDs:
            fleet = eos.db.getFleet(fleetID)
                except KeyError:
                    pass
            eos.db.remove(fleet)
        fit.fleet = None
        return

src/p/y/Pyfa-HEAD/service/fit.py   Pyfa(Download)
        self.removeProjectedData(fitID)
 
        eos.db.remove(fit)
 
    def copyFit(self, fitID):

src/p/y/Pyfa-HEAD/service/character.py   Pyfa(Download)
    def delete(self, charID):
        char = eos.db.getCharacter(charID)
        eos.db.commit()
        eos.db.remove(char)
 

src/p/y/Pyfa-HEAD/service/damagePattern.py   Pyfa(Download)
    def deletePattern(self, p):
        eos.db.remove(p)
 
    def copyPattern(self, p):
        newP = copy.deepcopy(p)

src/p/y/Pyfa-HEAD/eos/effectHandlerHelpers.py   Pyfa(Download)
        # constraint will report database integrity error
        # TODO: make a proper fix, probably by adjusting fit-boosters sqlalchemy relationships
        eos.db.remove(implant)
 
    def freeSlot(self, slot):