Skip to content

Commit

Permalink
update doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
lilykuang committed Jun 9, 2020
1 parent e5c3e89 commit 7ebf6e3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion superset/sql_parse.py
Expand Up @@ -216,7 +216,12 @@ def as_create_table(

def _extract_from_token(self, token: Token): # pylint: disable=too-many-branches
"""
Populate self._tables from token
<Identifier> store a list of subtokens and <IdentifierList> store lists of
subtoken list.
It extracts <IdentifierList> and <Identifier> from :param token: and loops through
all subtokens recursively. It finds table_name_preceding_token and passes
<IdentifierList> and <Identifier> to self._process_tokenlist to populate self._tables.
:param token: instance of Token or child class, e.g. TokenList, to be processed
"""
Expand Down

0 comments on commit 7ebf6e3

Please sign in to comment.