Mike Bayer  committed a95b0a5

- inline the commit of partials too

  • Participants
  • Parent commits fbcb056
  • Branches master

Comments (0)

Files changed (1)

File lib/sqlalchemy/orm/

         if filtered:
             rows = util.unique_list(rows, filter_fn)
-        for state, (dict_, attrs) in context.partials.items():
-            state._commit(dict_, attrs)
         for row in rows:
             yield row
                     state.load_options = context.propagate_options
                 if state.load_options:
                     state.load_path = load_path
                 for key, populator in new_populators:
                     if key not in attrs:
                     populator(state, dict_, row)
+                state._commit(dict_, attrs)
             for key, pop in eager_populators:
                 if key not in unloaded:
                     pop(state, dict_, row)