mirror of
https://github.com/nicolargo/glances.git
synced 2026-05-18 19:47:40 -04:00
@@ -6,12 +6,12 @@
|
||||
# SPDX-License-Identifier: LGPL-3.0-only
|
||||
#
|
||||
|
||||
from typing import Any, Dict, Protocol, Tuple
|
||||
from typing import Any, Dict, List, Protocol, Tuple
|
||||
|
||||
|
||||
class ContainersExtension(Protocol):
|
||||
def stop(self) -> None:
|
||||
raise NotImplementedError
|
||||
|
||||
def update(self, all_tag) -> Tuple[Dict, list[Dict[str, Any]]]:
|
||||
def update(self, all_tag) -> Tuple[Dict, List[Dict[str, Any]]]:
|
||||
raise NotImplementedError
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
# SPDX-License-Identifier: LGPL-3.0-only
|
||||
#
|
||||
|
||||
from typing import Any, Dict, Protocol, Tuple
|
||||
from typing import Any, Dict, List, Protocol, Tuple
|
||||
|
||||
|
||||
class VmsExtension(Protocol):
|
||||
def stop(self) -> None:
|
||||
raise NotImplementedError
|
||||
|
||||
def update(self, all_tag) -> Tuple[Dict, list[Dict[str, Any]]]:
|
||||
def update(self, all_tag) -> Tuple[Dict, List[Dict[str, Any]]]:
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user