| Conditions | 1 |
| Total Lines | 8 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 45 | 1 | def app_lod(config_lod=CLIConfig, database=db): |
|
| 46 | """ |
||
| 47 | Create LOD app with specified Config |
||
| 48 | :param config_lod: Database Config |
||
| 49 | :param database: SQLAlchemy() Database |
||
| 50 | :return: flask.app.Flask |
||
| 51 | """ |
||
| 52 | 1 | return create_app(config=config_lod, database=database) |
|
| 53 | |||
| 71 |