diff options
author | Daniel Brötzmann <mailtrash@posteo.de> | 2023-04-09 21:13:39 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-04-09 21:13:39 +0300 |
commit | 7a585f20d48f0bb03544ac66394a49fe937e3625 (patch) | |
tree | a503d2159add9803e42b87316d6ee7b44fa17c1a /typings | |
parent | 24548c14e87e5044eebaf0092ab27ef19cfb8659 (diff) |
feat: Integrate OMEMO plugin
Diffstat (limited to 'typings')
-rw-r--r-- | typings/qrcode/__init__.py | 14 | ||||
-rw-r--r-- | typings/qrcode/constants.py | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/typings/qrcode/__init__.py b/typings/qrcode/__init__.py new file mode 100644 index 000000000..e4289335a --- /dev/null +++ b/typings/qrcode/__init__.py @@ -0,0 +1,14 @@ + +from __future__ import annotations + +from typing import Any +from typing import Optional + +from . import constants as constants + + +class QRCode: + def __init__(self, version: Optional[int], error_correction: int, box_size: int, border: int, image_factory: Optional[Any] = None, mask_pattern: Optional[Any] = None) -> None: ... + def add_data(self, data: str) -> None: ... + def make(self, fit: bool) -> None: ... + def make_image(self, image_factory: Optional[Any] = None, fill_color: str, back_color: str) -> Any: ... diff --git a/typings/qrcode/constants.py b/typings/qrcode/constants.py new file mode 100644 index 000000000..3f3582636 --- /dev/null +++ b/typings/qrcode/constants.py @@ -0,0 +1,4 @@ + +from __future__ import annotations + +ERROR_CORRECT_L: int ... |