def make_table(self, name="<STR_LIT>", hash_key="<STR_LIT:id>", range_key="<STR_LIT:bar>", index=None):
rng = "<STR_LIT>"<EOL>if range_key is not None:<EOL><INDENT>rng = "<STR_LIT>" % range_key<EOL><DEDENT>idx = "<STR_LIT>"<EOL>if index is not None:<EOL><INDENT>idx = "<STR_LIT>".format(index)<EOL><DEDENT>self.query(<EOL>"<STR_LIT>" % (name, hash_key, rng, idx)<EOL>)<EOL>return name<EOL>
Shortcut for making a simple table