This is an automated email from the ASF dual-hosted git repository. tomaz pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit ef16c53859b578c6fb3c817d141fea7a9c9aca8e Author: Tomaz Muraus <to...@tomaz.me> AuthorDate: Thu Sep 8 13:29:45 2022 +0200 Fix invalid type annotation. --- libcloud/common/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcloud/common/types.py b/libcloud/common/types.py index 7dd6d26f9..29c54d425 100644 --- a/libcloud/common/types.py +++ b/libcloud/common/types.py @@ -49,7 +49,7 @@ class Type(str, Enum): @classmethod def fromstring(cls, value): - # type: (str) -> str + # type: (str) -> Optional[str] """Return the state object attribute that matches the string :param str value: the string to look up :return: the state object attribute that matches the string