Re: [Zopexmlmethods-devel] Override variable definitions via query string?
Brought to you by:
arielpartners,
philikon
|
From: Brent H. <br...@ec...> - 2003-05-19 17:33:53
|
Philipp von Weitershausen wrote:
> As mentioned above, you'd really like to pass a parameters as a keyword
> argument to __call__, wouldn't you?
> Why not make __call__ accept arbitrary keyword arguments (**kw)? Also,
+1, as long as REQUEST parameters are still allowed to override them.
My suggestion to implement this would be to do:
kw.update(REQUEST.form)
-- Brent
-------------------------------------------------------------------------
"The programmer, like the poet, works only slightly removed from pure
thought-stuff. He builds his castles in the air, from air, creating
by exertion of the imagination. Few media of creation are so
flexible, so easy to polish and rework, so readily capable of
realizing grand conceptual structures."
-- Frederick Brooks, Jr., The Mythical Man Month
|