class_docstr: A Database. Encapsulates a url and an SQLAlchemy engine with a pool of
  connections.
class_docstr_tok: ["A","Database",".","Encapsulates","a","url","and","an","SQLAlchemy","engine","with","a","pool","of","connections","."]
docstr: Returns a list of table names for the connected database.
docstr_tok: ["Returns","a","list","of","table","names","for","the","connected","database","."]
code: def get_table_names(self, internal=False):
      """Returns a list of table names for the connected database."""
  
      # Setup SQLAlchemy for Database inspection.
      return inspect(self._engine).get_table_names()
  
imports: import os
  from sys import stdout
  from collections import OrderedDict
  from contextlib import contextmanager
  from inspect import isclass
  import tablib
  from docopt import docopt
  from sqlalchemy import create_engine, exc, inspect, text
label_desc: Use image node_id 6 for calling the Database obj's underlying member method code with example usage: obj.get_table_names(internal) and returns: inspect