Searched refs:dynamizer (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb/ |
D | test_types.py | 36 dynamizer = types.Dynamizer() 37 self.assertEqual(dynamizer.encode('foo'), {'S': 'foo'}) 38 self.assertEqual(dynamizer.encode(54), {'N': '54'}) 39 self.assertEqual(dynamizer.encode(Decimal('1.1')), {'N': '1.1'}) 40 self.assertEqual(dynamizer.encode(set([1, 2, 3])), 42 self.assertIn(dynamizer.encode(set(['foo', 'bar'])), 44 self.assertEqual(dynamizer.encode(types.Binary(b'\x01')), 46 self.assertEqual(dynamizer.encode(set([types.Binary(b'\x01')])), 48 self.assertEqual(dynamizer.encode(['foo', 54, [1]]), 50 self.assertEqual(dynamizer.encode({'foo': 'bar', 'hoge': {'sub': 1}}), [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb/ |
D | layer2.py | 148 validate_certs=True, dynamizer=LossyFloatDynamizer, argument 155 self.dynamizer = dynamizer() 167 self.dynamizer = Dynamizer() if use_boolean else NonBooleanDynamizer() 182 "Value": self.dynamizer.encode(value)} 188 d[attr_name] = self.dynamizer.encode(item[attr_name]) 226 val = self.dynamizer.encode(expected_value[attr_name]) 239 d = {'HashKeyElement': self.dynamizer.encode(hash_key)} 242 d['RangeKeyElement'] = self.dynamizer.encode(range_key) 266 dynamodb_value = self.dynamizer.encode(hash_key) 272 dynamodb_value = self.dynamizer.encode(range_key) [all …]
|