Skip to content

Services incorrectly encode None arguments. #144

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Download the example app, samples/translate/main.py.
2. Edit the request such that the optional argument source=None
  service.translations().list(source=None, target='fr', q=['car']).execute()

What is the expected output? What do you see instead?
Printing the request URI reveals that None is encoded as the string "None" as 
opposed to excluding the relevant argument.

What version of the product are you using? On what operating system?
2.0beta8

Please provide any additional information below.

Original issue reported on code.google.com by yova...@google.com on 11 Jun 2012 at 10:21

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions