def create_dump():
    """ Create the grammar for the 'dump' statement """
    dump = upkey("dump").setResultsName("action")
    return (
        dump
        + upkey("schema")
        + Optional(Group(delimitedList(table)).setResultsName("tables"))
    )
Create the grammar for the 'dump' statement