- attached association_proxy_kw_arg.patch
[patch] Allow keyword arguments in association proxy append()
Issue #361
resolved
The attached patch allows association proxies to accept keyword arguments, which are passed to create(). When no creator function is specified, they are passed through to the __init__
of the created class. The assocation proxy example is also updated to include an example of passing in a keyword argument to set the price of an item.
Comments (2)
-
reporter -
repo owner - changed status to resolved
patched this in changeset:2091
- Log in to comment
Add keyword argument support to association proxy