[Fedora-suds-list] Types not converting from a dict?

Joshua J. Kugler joshua at eeinternet.com
Fri Mar 26 22:29:22 UTC 2010


On Friday 26 March 2010, Jeff Ortel elucidated thus:
> On 03/26/2010 04:03 PM, Joshua J. Kugler wrote:
> > WSDL file:
> > https://adwords.google.com/api/adwords/cm/v200909/CampaignService?w
> >sdl
> >
> > This code:
> >
> > #ga_month_start/end are strings
> > #ga.Campaign is my 'client' object, dynamically finds the method,
> > etc. stats = ga.Campaign.client.get({'ids':[ga_campaign.id],
> >                                               'statsSelector':{
> >                                                   'dateRange':{
> >                                                      
> > 'min':ga_month_start, 'max':ga_month_end }
> >                                                 }
> >                                                })
>
> Strange.  I ran:
>
>          url =
> 'https://adwords.google.com/api/adwords/cm/v200909/CampaignService?ws
>dl' client = Client(url)
>          print client
>          d = {'ids':[0],
>               'statsSelector':{
>                  'dateRange':{
>                      'min':'xxx',
>                      'max':'yyy'
>                      }
>                  }}
>          client.service.get(d)
>
> And it worked fine (trunk, r665):

Creepy...I just tried it again, and it worked.  Well, I guess I'm OK for 
now....

Sorry for the noise.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


More information about the suds mailing list