mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 20:14:14 +02:00
[api] improvement: list_suggestions as an optional method (SoftwareManager)
This commit is contained in:
@@ -361,7 +361,7 @@ class SnapManager(SoftwareManager, SettingsController):
|
||||
app.status = PackageStatus.READY
|
||||
return app
|
||||
|
||||
def list_suggestions(self, limit: int, filter_installed: bool) -> List[PackageSuggestion]:
|
||||
def list_suggestions(self, limit: int, filter_installed: bool) -> Optional[List[PackageSuggestion]]:
|
||||
res = []
|
||||
|
||||
if snapd.is_running():
|
||||
|
||||
Reference in New Issue
Block a user