add doc line for NodeinfoVersion

This commit is contained in:
Izalia Mae 2023-11-02 12:16:42 -04:00
parent 8bcc8ffd27
commit 0442c7b66e

View file

@ -5,9 +5,6 @@ import enum
from typing import Any, Type
# todo: create NodeinfoVersion enum
class classproperty(property): # pylint: disable=missing-class-docstring
def __get__(self, owner_self: Any, owner_cls: Type[Any]) -> Any:
return self.fget(owner_cls)
@ -137,6 +134,8 @@ class NodeinfoServiceOutbound(StrEnum):
class NodeinfoVersion(StrEnum):
"Namespace URLs for the different Nodeinfo versions"
V20 = "http://nodeinfo.diaspora.software/ns/schema/2.0"
V21 = "http://nodeinfo.diaspora.software/ns/schema/2.1"