Small method to run Flask non-blocking
()
| 189 | # start the api server |
| 190 | if enable_api: |
| 191 | def api_thread(): |
| 192 | """ Small method to run Flask non-blocking """ |
| 193 | api_state.start(app_state.api_host, app_state.api_port) |
| 194 | |
| 195 | click.secho(f'Starting API server on {app_state.api_host}:{app_state.api_port}', fg='yellow', bold=True) |
| 196 | thread = threading.Thread(target=api_thread) |
nothing calls this directly
no test coverage detected
searching dependent graphs…