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 Jun 3, 2024
1 parent 26c302a commit 86fc0fe
Showing 1 changed file with 2 additions and 0 deletions.
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 86fc0fe

Please sign in to comment.