1. Mike Bayer
  2. sqlalchemy

Commits

Justin Wood (Callek)  committed 7feacfc

once kwarg in event funcs is new in 0.9.4

event.listen and event.listen_for have a kwarg once added in 0.9.4 (not 0.9.3) CHANGELOG agrees with this as well. (as does my manual testing)

  • Participants
  • Parent commits 5041c1f
  • Branches rel_0_9

Comments (0)

Files changed (1)

File lib/sqlalchemy/event/api.py

View file
  • Ignore whitespace
 
         event.listen(Mapper, "before_configure", on_config, once=True)
 
-    .. versionadded:: 0.9.3 Added ``once=True`` to :func:`.event.listen`
+    .. versionadded:: 0.9.4 Added ``once=True`` to :func:`.event.listen`
        and :func:`.event.listens_for`.
 
     """
             do_config()
 
 
-    .. versionadded:: 0.9.3 Added ``once=True`` to :func:`.event.listen`
+    .. versionadded:: 0.9.4 Added ``once=True`` to :func:`.event.listen`
        and :func:`.event.listens_for`.
 
     """