Add missing typing

This commit is contained in:
Jaime van Kessel 2019-12-13 15:20:43 +01:00
parent 028a60318c
commit 93ee111566
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 8 additions and 4 deletions

View file

@ -1,12 +1,16 @@
# Copyright (c) 2019 Ultimaker B.V. # Copyright (c) 2019 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
from typing import TYPE_CHECKING, Dict, Any
from . import SentryLogger from . import SentryLogger
if TYPE_CHECKING:
from UM.Application import Application
def getMetaData():
def getMetaData() -> Dict[str, Any]:
return {} return {}
def register(app): def register(app: "Application") -> Dict[str, Any]:
return { "logger": SentryLogger.SentryLogger() } return {"logger": SentryLogger.SentryLogger()}