@property<EOL><INDENT>def schema(self):<DEDENT>
attrs = self.attrs.copy()<EOL>parts = ["<STR_LIT>", "<STR_LIT>", self.name, "<STR_LIT>" % self.hash_key.schema]<EOL>del attrs[self.hash_key.name]<EOL>if self.range_key:<EOL><INDENT>parts.append(self.range_key.schema + "<STR_LIT:U+002C>")<EOL>del attrs[self.range_key.name]<EOL><DEDENT>if attrs:<EOL><INDENT>attr_def = "<STR_LIT:U+002CU+0020>".join([attr.schema for attr in itervalues(attrs)])<EOL>parts.append(attr_def + "<STR_LIT:U+002C>")<EOL><DEDENT>parts.append(<EOL>"<STR_LIT>" % (self.read_throughput, self.write_throughput)<EOL>)<EOL>parts.extend([g.schema for g in itervalues(self.global_indexes)])<EOL>return "<STR_LIT:U+0020>".join(parts) + "<STR_LIT:;>"<EOL>
The DQL query that will construct this table's schema