mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[snap] improvement -> full support refactored to use the Snapd socket instead of the Ubuntu's old Snap API
This commit is contained in:
@@ -3,7 +3,7 @@ import os
|
||||
import shutil
|
||||
from abc import ABC, abstractmethod
|
||||
from pathlib import Path
|
||||
from typing import List, Set, Type, Tuple
|
||||
from typing import List, Set, Type, Tuple, Optional
|
||||
|
||||
import yaml
|
||||
|
||||
@@ -17,7 +17,7 @@ from bauh.api.abstract.view import ViewComponent
|
||||
|
||||
class SearchResult:
|
||||
|
||||
def __init__(self, installed: List[SoftwarePackage], new: List[SoftwarePackage], total: int):
|
||||
def __init__(self, installed: Optional[List[SoftwarePackage]], new: Optional[List[SoftwarePackage]], total: int):
|
||||
"""
|
||||
:param installed: already installed packages
|
||||
:param new: new packages found
|
||||
|
||||
Reference in New Issue
Block a user