def get_request_table(self, request):
if '<STR_LIT:(>' in request.path:<EOL><INDENT>pos = request.path.find('<STR_LIT:(>')<EOL>return request.path[<NUM_LIT:1>:pos]<EOL><DEDENT>else:<EOL><INDENT>return request.path[<NUM_LIT:1>:]<EOL><DEDENT>
Extracts table name from request.uri. The request.uri has either
"/mytable(...)" or "/mytable" format.

request:
    the request to insert, update or delete entity