Searched defs:to_json (Results 1 - 18 of 18) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudsearch2/
H A Doptionstatus.py89 def to_json(self): member in class:OptionStatus
101 data = self.save_fn(self.domain.name, self.to_json())
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/api/map_job/
H A Dinput_reader.py23 5. to_json()/from_json() are used to persist reader's state across multiple
56 state: The InputReader state as returned by to_json.
63 def to_json(self): member in class:InputReader
69 raise NotImplementedError("to_json() not implemented in %s" %
H A Doutput_writer.py28 3) from_json()/to_json() are used to persist writer's state across
60 state: The output writer state as returned by to_json.
67 def to_json(self): member in class:OutputWriter
75 raise NotImplementedError("to_json() not implemented in %s" %
H A Dsample_input_reader.py64 def to_json(self): member in class:SampleInputReader
H A Dabstract_datastore_input_reader.py63 def to_json(self): member in class:AbstractDatastoreInputReader
65 return self._iter.to_json()
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
H A Dkey_ranges.py72 def to_json(self): member in class:KeyRanges
109 def to_json(self): member in class:_KeyRangesFromList
110 json = super(_KeyRangesFromList, self).to_json()
112 {"list_of_key_ranges": [kr.to_json() for kr in self._key_ranges]})
150 def to_json(self): member in class:_KeyRangesFromNSRange
151 json = super(_KeyRangesFromNSRange, self).to_json()
H A Dproperty_range.py214 def to_json(self): member in class:PropertyRange
H A Ddatastore_range_iterators.py118 def to_json(self): member in class:RangeIterator
128 """Reverse of to_json."""
182 def to_json(self): member in class:_PropertyRangeModelIterator
197 return {"property_range": self._property_range.to_json(),
198 "query_spec": self._query_spec.to_json(),
249 def to_json(self): member in class:_MultiPropertyRangeModelIterator
255 json_item = self._iters[i].to_json()
326 def to_json(self): member in class:_KeyRangesIterator
330 current_iter = self._current_iter.to_json()
332 return {"key_ranges": self._key_ranges.to_json(),
392 def to_json(self): member in class:AbstractKeyRangeIterator
[all...]
H A Dparameters.py155 def to_json(self): member in class:_Config
H A Dshuffler.py379 def to_json(self): member in class:_MergingReader
458 def to_json(self): member in class:_HashingGCSOutputWriter
530 # Work-around: Since we don't have access to the context in the to_json()
H A Doutput_writers.py96 3) from_json()/to_json() are used to persist writer's state across
165 def to_json(self): member in class:OutputWriter
171 raise NotImplementedError("to_json() not implemented in %s" %
521 Subclasses need to define to_json, from_json, create, finalize and
763 def to_json(self): member in class:_GoogleCloudStorageOutputWriter
770 # This assumes from_json and to_json are only called
872 # (to_json is called) the file is finalized. When slice N is started
1007 def to_json(self): member in class:GoogleCloudStorageConsistentOutputWriter
1089 def to_json(self): member in class:_GoogleCloudStorageRecordOutputWriterBase
1090 return self._writer.to_json()
[all...]
H A Dinput_readers.py160 def to_json(self): member in class:InputReader
166 raise NotImplementedError("to_json() not implemented in %s" %
293 def to_json(self): member in class:AbstractDatastoreInputReader
299 return self._iter.to_json()
303 """Create new DatastoreInputReader from json, encoded by to_json.
890 method. The caller must consume the result yielded because self.to_json()
1210 def to_json(self): member in class:_OldAbstractDatastoreInputReader
1222 key_ranges_json.append(k.to_json())
1234 current_key_range_json = self._current_key_range.to_json()
1246 """Create new DatastoreInputReader from the json, encoded by to_json
1346 def to_json(self): member in class:BlobstoreLineInputReader
1529 def to_json(self): member in class:BlobstoreZipInputReader
1794 def to_json(self): member in class:BlobstoreZipLineInputReader
1919 def to_json(self): member in class:RandomStringInputReader
1944 def to_json(self): member in class:NamespaceInputReader
2135 def to_json(self): member in class:LogInputReader
2463 def to_json(self): member in class:_GoogleCloudStorageInputReader
2693 def to_json(self): member in class:_ReducerReader
[all...]
H A Dmodel.py306 def to_json(self): member in class:CountersMap
316 """Create new CountersMap from the json data structure, encoded by to_json.
412 def to_json(self): member in class:MapperSpec
442 return self.to_json() == other.to_json()
502 def to_json(self): member in class:MapreduceSpec
508 mapper_spec = self.mapper.to_json()
519 """Create new MapreduceSpec from the json, encoded by to_json.
535 return str(self.to_json())
540 return self.to_json()
1235 def to_json(self): member in class:QuerySpec
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudsearch/
H A Doptionstatus.py83 def to_json(self): member in class:OptionStatus
112 data = self.save_fn(self.domain.name, self.to_json())
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/lib/input_reader/
H A D_gcs.py265 def to_json(self): member in class:GCSInputReader
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/
H A Dhttp.py230 def to_json(self): member in class:MediaUpload
242 representation produced by to_json().
245 s: string, JSON from to_json().
249 to_json().
380 def to_json(self): member in class:MediaIoBaseUpload
432 def to_json(self): member in class:MediaFileUpload
912 def to_json(self): member in class:HttpRequest
916 d['resumable'] = self.resumable.to_json()
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
H A Doauth2_client.py443 def to_json(self): member in class:ServiceAccountCredentials
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
H A Dclient.py256 def to_json(self): member in class:Credentials
268 representation produced by to_json().
271 s: string, JSON from to_json().
275 to_json().
298 The JSON should have been produced by calling .to_json() on the object.
617 def to_json(self): member in class:OAuth2Credentials
623 should have been produced by calling .to_json() on the object.

Completed in 220 milliseconds