/
usr
/
lib
/
python3
/
dist-packages
/
uaclient
/
clouds
/
/usr/lib/python3/dist-packages/uaclient/clouds
mkdir
upload
Name
Size
Mode
Actions
__pycache__/
-
0755
rm
aws.py
1662
0644
edit
dl
rm
azure.py
1863
0644
edit
dl
rm
identity.py
2606
0644
edit
dl
rm
__init__.py
710
0644
edit
dl
rm
Edit:
/usr/lib/python3/dist-packages/uaclient/clouds/__init__.py
(710B)
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
Save
cmd:
run