add type hint Alignment

This commit is contained in:
belono 2024-05-30 17:53:21 +02:00
parent fe3cdde424
commit 546391cb9c
2 changed files with 3 additions and 0 deletions

1
escpos-printer-db Submodule

@ -0,0 +1 @@
Subproject commit 375135d552e3fe65cbd1462b8b8d56c401b13ae7

View File

@ -107,6 +107,8 @@ SW_BARCODE_NAMES = {
for name in barcode.PROVIDED_BARCODES
}
Alignment = Union[Literal["center", "left", "right"], str]
class Escpos(object, metaclass=ABCMeta):
"""ESC/POS Printer object.