Sorry, That was phrased really badly.

What I am aiming to do is to grab the state from my gadget once the
gadget is updated and I need to use that collected value when a blip
(besides the blip with the gadget) is submitted. This sounds like a
really easy problem but I have been struggling for hours.

Thanks,
Cory

On Dec 6, 3:37 am, David Nesting <[email protected]> wrote:
> On Thu, Dec 3, 2009 at 5:31 PM, Cory Thompson <[email protected]>wrote:
>
> > gadget = blip.GetGadgetByUrl('url here')
>
> > if gadget:
> >  stateOutput= gadget.get('stateKey')
>
> >  stateOutput holds that data I need it to hold although the problem is
> > that I need to use this data in another function. Any idea's on how I
>
> I don't understand your question; could you rephrase it?  You've assigned
> the value of that state variable to a local Python variable.  Can't you now
> just pass that to your function?
>
> stateOutput = gadget.get('stateKey')
> MyOtherFunction(stateOutput)
>
> David

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to