In order to minimize the pain that is an API signature that looks like
background_foo(a,b,c,d,e,f,g,h,i,j,h,token) without keyword arguments in
XMLRPC, background tasks will work like the following:
background_foo(options,token), where options is a hash, or as Python
wants likes to call things -- a dict.
This allows for passing all options from the CLI and the webapp directly
in to the remote XMLRPC interface, and it can use only the ones
it finds relevant.
This will take a bit of time to go back and change things that have used
the older way (old being last few weeks) but this should shorten
remote.py's code greatly.
Just posting so people wondering what's taking so long can follow -- we
want to get everything /perfect/ before releasing a new set of API
functions -- we do have to support them forever :)
--Michael
Show replies by date