Mercurial > libervia-backend
view stubs/twisted/words/protocols/jabber/jid.pyi @ 4349:1bedcc6712e9
plugin XEP-0131: update triggers priority + add headers to MessageDataExtra:
- Lower priority is used for triggers so other plugins can add headers before the XML is
generated.
- Added `headers` to `MessageDataExtra` type.
rel 456
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 28 Feb 2025 09:23:35 +0100 |
parents | 8289ac1b34f4 |
children |
line wrap: on
line source
from typing import Tuple, overload User = str Host = str Resource = str # Note: these typings are incomplete and evolve as needed. class JID: user: User host: Host resource: Resource @overload def __init__(self, str: str, tuple: None = None) -> None: ... @overload def __init__(self, str: None, tuple: Tuple[User, Host, Resource]) -> None: ... def userhost(self) -> str: ... def userhostJID(self) -> "JID": ... def full(self) -> str: ...