From 590eb2abd242b86f2222334b3fd82b9928fe33d9 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 10 Sep 2020 13:41:21 -0300 Subject: [PATCH] [api] marking argument type as optional --- bauh/api/abstract/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/api/abstract/controller.py b/bauh/api/abstract/controller.py index deef917b..933f4ef7 100644 --- a/bauh/api/abstract/controller.py +++ b/bauh/api/abstract/controller.py @@ -223,7 +223,7 @@ class SoftwareManager(ABC): :return: if the instance can work based on what is installed in the user's machine. """ - def cache_to_disk(self, pkg: SoftwarePackage, icon_bytes: bytes, only_icon: bool): + def cache_to_disk(self, pkg: SoftwarePackage, icon_bytes: Optional[bytes], only_icon: bool): """ Saves the package data to the hard disk. :param pkg: