No longer adding in the 'data' wrapper object if it is missing, as some APIs don't use it.
diff --git a/samples/threadqueue/main.py b/samples/threadqueue/main.py
index 5e9314e..1b3b6af 100644
--- a/samples/threadqueue/main.py
+++ b/samples/threadqueue/main.py
@@ -81,9 +81,11 @@
p = build("moderator", "v1", http=http)
series_body = {
- "description": "An example of bulk creating topics",
- "name": "Using threading and queues",
- "videoSubmissionAllowed": False
+ "data": {
+ "description": "An example of bulk creating topics",
+ "name": "Using threading and queues",
+ "videoSubmissionAllowed": False
+ }
}
series = p.series().insert(body=series_body).execute()
print "Created a new series"