On Thu, 26 Jul 2007 12:08:40 +1000, Steven D'Aprano wrote:
> On Thu, 26 Jul 2007 03:33:20 +0200, Kai Kuehne wrote:
>
>> I have tried to prepare a dict and then passing it to the method
>> afterwards:
> d = {'person': 'user', 'from': vorgestern}
> magnolia.bookmarks_find(d)
>> : bookmarks_
Hi Steven,
On 7/26/07, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> On Thu, 26 Jul 2007 03:33:20 +0200, Kai Kuehne wrote:
> Try this:
>
> magnolia.bookmarks_find(**d)
This works perfectly, thank you guys.
Kai
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 26 Jul 2007 03:33:20 +0200, Kai Kuehne wrote:
> I have tried to prepare a dict and then passing it to the
> method afterwards:
d = {'person': 'user', 'from': vorgestern}
magnolia.bookmarks_find(d)
> : bookmarks_find() takes exactly 1
> argument (2 given)
>
> I'm out of ideas so
"Kai Kuehne" <[EMAIL PROTECTED]> writes:
> >>> d = {'person': 'user', 'from': vorgestern}
> >>> magnolia.bookmarks_find(d)
> : bookmarks_find() takes exactly 1
> argument (2 given)
>
> I'm out of ideas so help is greatly appreciated!
Try
magnolia.bookmarks_find(**d)
--
http://mail.python.org/
Hi list!
I'm using pygmalion (magnolia api access lib) and want to
use the following method that it is offering:
magnolia.bookmarks_find(person='user', from=some_datetime)
As you may noticed, from is a keyword argument and so I
get the following error message from python:
File "", line 1