mirror of https://github.com/nicolargo/glances
parent
fbca700562
commit
73ff388400
|
@ -6,12 +6,12 @@
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only
|
# 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):
|
class ContainersExtension(Protocol):
|
||||||
def stop(self) -> None:
|
def stop(self) -> None:
|
||||||
raise NotImplementedError
|
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
|
raise NotImplementedError
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only
|
# 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):
|
class VmsExtension(Protocol):
|
||||||
def stop(self) -> None:
|
def stop(self) -> None:
|
||||||
raise NotImplementedError
|
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
|
raise NotImplementedError
|
||||||
|
|
Loading…
Reference in New Issue