Typing: mypy fixes for

* __main__.py
 * app.py
 * models.py
 * plus.py
 * stats.py

In addition a new module was introduced: types
There all TypedDicts are included. Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
This commit is contained in:
Sebastian Englbrecht
2022-04-16 17:40:04 +02:00
committed by Blake Blackshear
parent ebf4e43ced
commit cafe0917c7
10 changed files with 174 additions and 87 deletions

View File

@@ -1,14 +1,13 @@
import faulthandler
from flask import cli
faulthandler.enable()
import sys
import threading
threading.current_thread().name = "frigate"
from frigate.app import FrigateApp
cli = sys.modules["flask.cli"]
cli.show_server_banner = lambda *x: None
if __name__ == "__main__":