superset 394 B

12345678910111213141516
  1. #!/usr/bin/env python
  2. import warnings
  3. import click
  4. from flask.cli import FlaskGroup
  5. from flask.exthook import ExtDeprecationWarning
  6. from superset.cli import create_app
  7. warnings.simplefilter('ignore', ExtDeprecationWarning)
  8. @click.group(cls=FlaskGroup, create_app=create_app)
  9. def cli():
  10. """This is a management script for the superset application."""
  11. if __name__ == '__main__':
  12. cli()