diff --git a/unicorn_fy/unicorn_fy.py b/unicorn_fy/unicorn_fy.py index eb91c82..55a9753 100755 --- a/unicorn_fy/unicorn_fy.py +++ b/unicorn_fy/unicorn_fy.py @@ -37,6 +37,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. +from typing import Optional import cython import logging import platform @@ -1265,7 +1266,7 @@ def get_latest_release_info(): except Exception: return False - def get_latest_version(self): + def get_latest_version(self) -> Optional[str]: """ Get the version of the latest available release (cache time 1 hour)