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

Function getCharactersForUser

eos/db/saveddata/queries.py:196–203  ·  view source on GitHub ↗
(lookfor, eager=None)

Source from the content-addressed store, hash-verified

194
195
196def getCharactersForUser(lookfor, eager=None):
197 if isinstance(lookfor, int):
198 eager = processEager(eager)
199 with sd_lock:
200 characters = saveddata_session.query(Character).options(*eager).filter(Character.ownerID == lookfor).all()
201 else:
202 raise TypeError("Need integer as argument")
203 return characters
204
205
206@cachedQuery(Fit, 1, "lookfor")

Callers

nothing calls this directly

Calls 1

processEagerFunction · 0.90

Tested by

no test coverage detected