Island: Fix return type hint for Version._get_version_info()
This commit is contained in:
parent
617d101af2
commit
df1b9f0f9c
|
@ -56,7 +56,7 @@ class Version:
|
||||||
self._latest_version, self._download_url = self._get_version_info()
|
self._latest_version, self._download_url = self._get_version_info()
|
||||||
self._initialization_complete.set()
|
self._initialization_complete.set()
|
||||||
|
|
||||||
def _get_version_info(self) -> Tuple[Optional[str], Optional[str]]:
|
def _get_version_info(self) -> Tuple[str, Optional[str]]:
|
||||||
url = LATEST_VERSION_URL.format(self._deployment.value)
|
url = LATEST_VERSION_URL.format(self._deployment.value)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue