Home
last modified time | relevance | path

Searched refs:from_json (Results 1 – 24 of 24) sorted by relevance

/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Ddatastore_range_iterators.py87 def from_json(cls, json): member in RangeIteratorFactory
88 return _RANGE_ITERATORS[json["name"]].from_json(json)
127 def from_json(cls, json): member in RangeIterator
209 def from_json(cls, json): member in _PropertyRangeModelIterator
211 obj = cls(property_range.PropertyRange.from_json(json["property_range"]),
213 model.QuerySpec.from_json(json["query_spec"]))
269 def from_json(cls, json): member in _MultiPropertyRangeModelIterator
281 p_range_iters.append(_PropertyRangeModelIterator.from_json(json_item))
339 def from_json(cls, json): member in _KeyRangesIterator
342 obj = cls(key_ranges.KeyRangesFactory.from_json(json["key_ranges"]),
[all …]
Dkey_ranges.py45 def from_json(cls, json): member in KeyRangesFactory
58 return _KEYRANGES_CLASSES[json["name"]].from_json(json)
76 def from_json(cls): member in KeyRanges
116 def from_json(cls, json): member in _KeyRangesFromList
118 [key_range.KeyRange.from_json(kr) for kr in json["list_of_key_ranges"]])
160 def from_json(cls, json): member in _KeyRangesFromNSRange
Dmodel.py315 def from_json(cls, json): member in CountersMap
430 def from_json(cls, json): member in MapperSpec
482 self.mapper = MapperSpec.from_json(mapper_spec)
518 def from_json(cls, json): member in MapreduceSpec
548 return cls.from_json(spec_json)
799 self.input_reader = self.input_reader.from_json(self._input_reader_json)
826 input_reader = mapper_spec.input_reader_class().from_json(
830 initial_input_reader = mapper_spec.input_reader_class().from_json(
835 output_writer = mapper_spec.output_writer_class().from_json(
1246 def from_json(cls, json): member in QuerySpec
Dinput_readers.py149 def from_json(cls, input_shard_state): member in InputReader
302 def from_json(cls, json): member in AbstractDatastoreInputReader
311 return cls(db_iters.RangeIteratorFactory.from_json(json))
1245 def from_json(cls, json): member in _OldAbstractDatastoreInputReader
1261 key_ranges.append(key_range.KeyRange.from_json(k))
1274 current_key_range = key_range.KeyRange.from_json(
1361 def from_json(cls, json): member in BlobstoreLineInputReader
1429 chunks.append(BlobstoreLineInputReader.from_json(
1433 chunks.append(BlobstoreLineInputReader.from_json(
1516 def from_json(cls, json): member in BlobstoreZipInputReader
[all …]
Djson_util.py145 return cls.from_json(json.loads(json_str, cls=JsonDecoder))
205 return self.data_type.from_json(_json)
Doutput_writers.py154 def from_json(cls, state): member in OutputWriter
750 def from_json(cls, state): member in _GoogleCloudStorageOutputWriter
1001 def from_json(cls, state): member in GoogleCloudStorageConsistentOutputWriter
1086 def from_json(cls, state): member in _GoogleCloudStorageRecordOutputWriterBase
1087 return cls(cls.WRITER_CLS.from_json(state))
Dparameters.py159 def from_json(cls, json): member in _Config
Dshuffler.py373 def from_json(cls, json): member in _MergingReader
447 def from_json(cls, json): member in _HashingGCSOutputWriter
Dproperty_range.py219 def from_json(cls, json): member in PropertyRange
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sts/
Dcredentials.py48 def from_json(cls, json_doc): member in Credentials
75 return cls.from_json(json_doc)
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/api/map_job/
Dinput_reader.py52 def from_json(cls, state): member in InputReader
Doutput_writer.py54 def from_json(cls, state): member in OutputWriter
Dabstract_datastore_input_reader.py68 def from_json(cls, state): member in AbstractDatastoreInputReader
70 return cls(db_iters.RangeIteratorFactory.from_json(state))
Dsample_input_reader.py60 def from_json(cls, state): member in SampleInputReader
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dgce.py65 def from_json(cls, json_data): member in AppAssertionCredentials
Dclient.py291 from_json = getattr(kls, 'from_json')
292 return from_json(s)
295 def from_json(cls, unused_data): member in Credentials
621 def from_json(cls, s): member in OAuth2Credentials
927 def from_json(cls, s): member in AccessTokenCredentials
1524 def from_json(cls, s): member in SignedJwtAssertionCredentials
Ddevshell.py128 def from_json(cls, json_data): member in DevshellCredentials
Dappengine.py173 def from_json(cls, json_data): member in AppAssertionCredentials
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/
Dhttp.py256 from_json = getattr(kls, 'from_json')
257 return from_json(s)
442 def from_json(s): member in MediaFileUpload
925 def from_json(s, http, postproc): member in HttpRequest
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dcredentials_lib.py345 def from_json(cls, json_data): member in GceAssertionCredentials
390 def from_json(cls, json_data): member in GaeAssertionCredentials
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_oauth2client.py629 self.credentials = self.credentials.from_json(original_credentials)
642 instance = OAuth2Credentials.from_json(json)
652 instance = OAuth2Credentials.from_json(json.dumps(data))
715 instance = OAuth2Credentials.from_json(self.credentials.to_json())
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/
DCHANGELOG.md90 * Quick bugfix for bad error handling in from_json.
151 * Make `from_json` behavior inheritable.
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/lib/input_reader/
D_gcs.py259 def from_json(cls, state): member in GCSInputReader
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_client.py450 def from_json(cls, s): member in ServiceAccountCredentials