X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=loctrkd%2Fprotomodule.py;h=1d61759c19239b9e774e2bdc811eb6d53dd4fc19;hb=f864ae02fafc77fa7ddda90dc11e81e5270bcb5c;hp=446fec6215f77c3723744e571c5bd463f1b1115f;hpb=be1de0bb68c5c4acf2edd6f04c5ea8e40d9f31fb;p=loctrkd.git diff --git a/loctrkd/protomodule.py b/loctrkd/protomodule.py index 446fec6..1d61759 100644 --- a/loctrkd/protomodule.py +++ b/loctrkd/protomodule.py @@ -88,6 +88,10 @@ class ProtoClass(Protocol, metaclass=_MetaProto): IN_KWARGS: Tuple[Tuple[str, Callable[[Any], Any], Any], ...] = () OUT_KWARGS: Tuple[Tuple[str, Callable[[Any], Any], Any], ...] = () + @classmethod + def proto_name(cls) -> str: + ... + class In: def __init__(self, *args: Any, **kwargs: Any) -> None: ...