Home
last modified time | relevance | path

Searched refs:to_json (Results 1 – 25 of 45) sorted by relevance

12

/external/python/oauth2client/tests/contrib/
Dtest_keyring_storage.py87 credentials.to_json = to_json = mock.MagicMock(
90 to_json.assert_called_once_with()
150 'my_unit_test', 'me', credentials.to_json())
154 return_value=credentials.to_json(),
Dtest_appengine.py162 json = credentials.to_json()
348 self.credentials.to_json(),
349 retrieved.credentials.to_json())
360 self.credentials.to_json())
362 self.credentials.to_json(),
363 decoded.to_json())
486 self.assertEqual(credmodel.credentials.to_json(),
487 self.credentials.to_json())
499 self.assertEqual(credmodel.credentials.to_json(),
500 self.credentials.to_json())
[all …]
Dtest_flask_util.py396 session['google_oauth2_credentials'] = credentials.to_json()
410 credentials.to_json())
424 credentials.to_json())
465 session['google_oauth2_credentials'] = credentials.to_json()
490 session['google_oauth2_credentials'] = credentials2.to_json()
Dtest_dictionary_storage.py69 dictionary[key] = credentials.to_json()
Dtest_gce.py59 credentials.to_json()
/external/protobuf/conformance/
Dconformance_ruby.rb73 response.json_payload = test_message.to_json
107 STDERR.puts("conformance_ruby: request=#{request.to_json}, " \
108 "response=#{response.to_json}\n")
/external/tensorflow/tensorflow/contrib/training/python/training/
Dhparam_test.py393 json_str = hparams.to_json()
402 self.assertEqual('{"aaa": 123}', hparams3.to_json())
403 self.assertEqual('{\n "aaa": 123\n}', hparams3.to_json(indent=2))
404 self.assertEqual('{"aaa"=123}', hparams3.to_json(separators=(';', '=')))
409 hparams4.to_json(sort_keys=True))
/external/protobuf/ruby/lib/google/protobuf/
Dmessage_exts.rb43 def to_json method
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt186 googleapiclient.http.HttpRequest.to_json googleapiclient.http.HttpRequest-class.html#to_json
197 googleapiclient.http.MediaFileUpload.to_json googleapiclient.http.MediaFileUpload-class.html#to_json
209 googleapiclient.http.MediaIoBaseUpload.to_json googleapiclient.http.MediaIoBaseUpload-class.html#to…
224 googleapiclient.http.MediaIoBaseUpload.to_json googleapiclient.http.MediaIoBaseUpload-class.html#to…
236 googleapiclient.http.MediaUpload.to_json googleapiclient.http.MediaUpload-class.html#to_json
/external/protobuf/ruby/lib/google/
Dprotobuf.rb64 msg.to_json
/external/python/oauth2client/oauth2client/contrib/
Ddictionary_storage.py60 serialized = credentials.to_json()
Dkeyring_storage.py90 credentials.to_json())
D_appengine_ndb.py124 return value.to_json()
Dgce.py84 def to_json(self): member in AppAssertionCredentials
Dappengine.py274 cred = cred.to_json()
398 self._cache.set(self._key_name, credentials.to_json())
415 self._cache.set(self._key_name, credentials.to_json())
Dmultiprocess_file_storage.py179 credential_json = credential.to_json()
Dmultistore_file.py442 raw_cred = json.loads(cred.to_json())
/external/python/apitools/apitools/scripts/
Doauth2l.py136 return _PrettyJson(json.loads(_AsText(credentials.to_json())))
138 return _CompactJson(json.loads(_AsText(credentials.to_json())))
/external/python/oauth2client/oauth2client/
Dfile.py97 f.write(credentials.to_json())
/external/python/oauth2client/tests/
Dtest_client.py84 json = credentials.to_json()
169 def test_to_json(self, to_json): argument
171 self.assertEqual(credentials.to_json(), to_json.return_value)
172 to_json.assert_called_once_with(
793 json = creds.to_json()
803 creds2 = client.GoogleCredentials.from_json(creds1.to_json())
817 creds2 = client.GoogleCredentials.from_json(creds1.to_json())
960 original_credentials = self.credentials.to_json()
977 json = self.credentials.to_json()
986 data = json.loads(self.credentials.to_json())
[all …]
Dtest_jwt.py270 json = credentials.to_json()
/external/python/google-api-python-client/googleapiclient/
Dhttp.py359 def to_json(self): member in MediaUpload
509 def to_json(self): member in MediaIoBaseUpload
564 def to_json(self): member in MediaFileUpload
1026 def to_json(self): member in HttpRequest
1030 d['resumable'] = self.resumable.to_json()
/external/python/google-api-python-client/tests/
Dtest_http.py228 json = upload.to_json()
265 json = req.to_json()
274 self.assertEqual(media_upload.to_json(), new_req.resumable.to_json())
308 json = upload.to_json()
/external/protobuf/ruby/tests/
Dbasic.rb856 json = m.to_json
879 assert_equal m.to_json, encoded_msg
882 assert_equal TestMessage.decode_json(m.to_json), decoded_msg
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model.py130 model_json = model.to_json()

12