Fix typing

For some reason, my MyPy started acting up once I started using the PythonPath while calling it.
This commit is contained in:
Jaime van Kessel 2018-09-27 20:01:55 +02:00
parent 57334dd751
commit 3b70e5eb6b
9 changed files with 120 additions and 91 deletions

View file

@ -14,7 +14,7 @@ class OAuth2Settings(BaseModel):
CLIENT_ID = None # type: Optional[str]
CLIENT_SCOPES = None # type: Optional[str]
CALLBACK_URL = None # type: Optional[str]
AUTH_DATA_PREFERENCE_KEY = None # type: Optional[str]
AUTH_DATA_PREFERENCE_KEY = "" # type: str
AUTH_SUCCESS_REDIRECT = "https://ultimaker.com" # type: str
AUTH_FAILED_REDIRECT = "https://ultimaker.com" # type: str