Home
last modified time | relevance | path

Searched refs:hash_key_name (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb/
Dschema.py45 s = 'Schema(%s:%s)' % (self.hash_key_name, self.range_key_name)
47 s = 'Schema(%s)' % self.hash_key_name
87 def hash_key_name(self): member in Schema
109 return (self.hash_key_name == other.hash_key_name and
Ditem.py42 self._hash_key_name = self.table.schema.hash_key_name
68 def hash_key_name(self): member in Item
Dlayer2.py421 def create_schema(self, hash_key_name, hash_key_proto_value, argument
444 hash_key = (hash_key_name, get_dynamodb_type(hash_key_proto_value))
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/dynamodb/
Dtest_layer1.py42 self.hash_key_name = 'forum_name'
48 self.schema = {'HashKeyElement': {'AttributeName': self.hash_key_name,
70 hash_key_name = self.hash_key_name
82 assert result_schema['HashKeyElement']['AttributeName'] == hash_key_name
121 hash_key_name: {hash_key_type: item1_key},
182 hash_key_name: {hash_key_type: item2_key},
199 hash_key_name: {hash_key_type: item3_key},
248 self.hash_key_name: {self.hash_key_type: item1_key},
Dtest_layer2.py44 self.hash_key_name = 'forum_name'
52 self.hash_key_name, self.hash_key_proto_value,
69 schema = c.create_schema(self.hash_key_name, self.hash_key_proto_value,
83 assert table.schema.hash_key_name == self.hash_key_name
131 item1_attrs[self.hash_key_name] = 'foo'
145 del item1_attrs[self.hash_key_name]
177 if attr_name not in (item1_small.hash_key_name,
409 assert ret_vals['Attributes'][self.hash_key_name] == item2_key
418 schema = c.create_schema(self.hash_key_name, self.hash_key_proto_value,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/dynamodb2/
Dtest_layer1.py39 self.hash_key_name = 'username'
47 'AttributeName': self.hash_key_name,
57 'AttributeName': self.hash_key_name,
74 'AttributeName': self.hash_key_name,
249 'AttributeName': self.hash_key_name,
255 'AttributeName': self.hash_key_name,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb/
Dtest_layer2.py75 self.assertEqual(schema.hash_key_name, 'foo')
82 self.assertEqual(schema.hash_key_name, 'foo')