mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[api] marking argument type as optional
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user