Lines Matching refs:zoo
534 zoo = build(
552 zoo = build(
570 zoo = build(
588 zoo = build("zoo", "v1", http=http, cache_discovery=False)
589 self.assertTrue(hasattr(zoo, "animals"))
746 zoo = build("zoo", "v1", http=http)
748 request = zoo.query(
752 request = zoo.query(
757 request = zoo.query(
761 request = zoo.query(
775 self.assertRaises(TypeError, zoo.query, er=["one", "five"])
779 zoo = build("zoo", "v1", http=http)
780 request = zoo.query(trace="html", fields="description")
789 zoo = build("zoo", "v1", http=http)
790 request = zoo.query(trace=None, fields="description")
798 zoo = build("zoo", "v1", http=http)
799 request = zoo.animals().get(name="Lion")
808 zoo = build("zoo", "v1", http=http)
809 request = zoo.animals().getmedia(name="Lion")
818 zoo = build("zoo", "v1", http=http)
819 request = zoo.animals().patch(name="lion", body='{"description": "foo"}')
826 zoo = build("zoo", "v1", http=self.http)
827 batch_request = zoo.new_batch_http_request()
847 zoo = build("zoo", "v1", http=http, cache_discovery=False)
848 resp = zoo.animals().patch(name="lion", body='{"description": "foo"}').execute()
885 zoo = build("zoo", "v1", http=self.http)
886 self.assertTrue(getattr(zoo, "animals"))
888 request = zoo.animals().list(name="bat", projection="full")
896 zoo = build("zoo", "v1", http=self.http)
897 self.assertTrue(getattr(zoo, "animals"))
898 request = zoo.my().favorites().list(max_results="5")
906 zoo = build("zoo", "v1", http=self.http)
907 self.assertTrue(getattr(zoo, "animals"))
908 request = zoo.global_().print_().assert_(max_results="5")
914 zoo = build("zoo", "v1", http=self.http)
915 self.assertTrue(getattr(zoo, "query"))
916 request = zoo.query(q="foo")
923 zoo = build("zoo", "v1", http=self.http)
924 doc = getattr(zoo.animals().insert, "__doc__")
929 zoo = build("zoo", "v1", http=self.http)
930 request = zoo.animals().crossbreed(media_body=datafile("small.png"))
936 zoo = build("zoo", "v1", http=self.http)
939 zoo.animals().insert(media_body=datafile("smiley.png"))
945 zoo.animals().insert(media_body=datafile("small.jpg"))
952 zoo = build("zoo", "v1", http=self.http)
954 request = zoo.animals().insert(media_body=datafile("small.png"))
965 zoo = build("zoo", "v1", http=self.http)
968 zoo.animals().insert(media_body=datafile("small-png"))
973 request = zoo.animals().insert(
986 zoo = build("zoo", "v1", http=self.http)
989 zoo.animals().insert(media_body=datafile("smiley.png"), body={})
995 zoo.animals().insert(media_body=datafile("small.jpg"), body={})
1002 zoo = build("zoo", "v1", http=self.http)
1004 request = zoo.animals().insert(media_body=datafile("small.png"), body={})
1036 zoo = build("zoo", "v1", http=self.http)
1038 request = zoo.animals().insert(body={})
1043 zoo = build("zoo", "v1", http=self.http)
1046 request = zoo.animals().insert(media_body=media_upload, body={})
1111 zoo = build("zoo", "v1", http=self.http)
1114 request = zoo.animals().insert(media_body=media_upload, body=None)
1170 zoo = build("zoo", "v1", http=self.http)
1173 request = zoo.animals().insert(media_body=media_upload, body=None)
1209 zoo = build("zoo", "v1", http=self.http)
1212 request = zoo.animals().insert(media_body=media_upload, body=None)
1227 zoo = build("zoo", "v1", http=self.http)
1230 request = zoo.animals().insert(media_body=media_upload, body=None)
1269 zoo = build("zoo", "v1", http=self.http)
1277 request = zoo.animals().insert(media_body=media_upload, body=None)
1300 zoo = build("zoo", "v1", http=self.http)
1308 request = zoo.animals().insert(media_body=media_upload, body=None)
1332 zoo = build("zoo", "v1", http=self.http)
1353 request = zoo.animals().insert(media_body=upload, body=None)
1359 zoo = build("zoo", "v1", http=self.http)
1389 request = zoo.animals().insert(media_body=upload, body=None)
1412 zoo = build("zoo", "v1", http=self.http)
1421 request = zoo.animals().insert(media_body=upload, body=None)
1436 zoo = build("zoo", "v1", http=self.http)
1445 request = zoo.animals().insert(media_body=upload, body=None)
1486 zoo = build("zoo", "v1", http=http)
1487 self.assertEqual(sorted(zoo.__dict__.keys()), sorted_resource_keys)
1489 pickled_zoo = pickle.dumps(zoo)
1507 self.assertEqual(sorted(zoo._dynamic_attrs), sorted(new_zoo._dynamic_attrs))
1508 self.assertEqual(zoo._baseUrl, new_zoo._baseUrl)
1509 self.assertEqual(zoo._developerKey, new_zoo._developerKey)
1510 self.assertEqual(zoo._requestBuilder, new_zoo._requestBuilder)
1511 self.assertEqual(zoo._resourceDesc, new_zoo._resourceDesc)
1512 self.assertEqual(zoo._rootDesc, new_zoo._rootDesc)
1560 zoo = build("zoo", "v1", http=http)
1561 pickled_zoo = pickle.dumps(zoo)
1563 self.assertEqual(sorted(zoo.__dict__.keys()), sorted(new_zoo.__dict__.keys()))
1569 zoo = build("zoo", "v1", http=self.http)
1572 request = zoo.animals().insert(media_body=media_upload, body=None)
1662 zoo = build("zoo", "v1", http=http)
1663 request = zoo.animals().get_media(name="Lion")