Skip to content

Commit

Permalink
add type hint Alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
belono committed May 30, 2024
1 parent fe3cdde commit 546391c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions escpos-printer-db
Submodule escpos-printer-db added at 375135
2 changes: 2 additions & 0 deletions src/escpos/escpos.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
for name in barcode.PROVIDED_BARCODES
}

Alignment = Union[Literal["center", "left", "right"], str]


class Escpos(object, metaclass=ABCMeta):
"""ESC/POS Printer object.
Expand Down

0 comments on commit 546391c

Please sign in to comment.