Files
@ 837fc99ca140
Branch filter:
Location: kallithea/docs/api/models.rst
837fc99ca140
632 B
text/prs.fallenstein.rst
auth: have fill_data take User object, not lookup key
Simplify the UserModel.fill_data interface by passing the actual db.User
object instead of a key by which it can be looked up. This also saves a
lookup in case the db.User is already loaded (which for now is only the
case in one place, but that'll change in the following changesets).
Also enhance fill_data docstring.
Simplify the UserModel.fill_data interface by passing the actual db.User
object instead of a key by which it can be looked up. This also saves a
lookup in case the db.User is already loaded (which for now is only the
case in one place, but that'll change in the following changesets).
Also enhance fill_data docstring.