Add type hint Alignment
This commit is contained in:
parent
26c302a186
commit
86fc0fe69f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user