MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / removeInvalid

Function removeInvalid

eos/db/saveddata/queries.py:534–542  ·  view source on GitHub ↗
(fits)

Source from the content-addressed store, hash-verified

532
533
534def removeInvalid(fits):
535 invalids = [f for f in fits if f.isInvalid]
536
537 if invalids:
538 list(map(fits.remove, invalids))
539 list(map(saveddata_session.delete, invalids))
540 saveddata_session.commit()
541
542 return fits
543
544
545def add(stuff):

Callers 5

getFitFunction · 0.85
getFitsWithShipFunction · 0.85
getFitsWithModulesFunction · 0.85
getFitListFunction · 0.85
searchFitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected