mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	use typing types
This commit is contained in:
		| @@ -11,7 +11,7 @@ It requires you to have a configuration file. See documentation for details. | |||||||
|  |  | ||||||
| import argparse | import argparse | ||||||
| import platform | import platform | ||||||
| from typing import Any | from typing import Any, Dict, List | ||||||
|  |  | ||||||
| try: | try: | ||||||
|     import argcomplete |     import argcomplete | ||||||
| @@ -95,7 +95,7 @@ DEMO_FUNCTIONS = { | |||||||
| # parser: A dict of args for command_parsers.add_parser | # parser: A dict of args for command_parsers.add_parser | ||||||
| # defaults: A dict of args for subparser.set_defaults | # defaults: A dict of args for subparser.set_defaults | ||||||
| # arguments: A list of dicts of args for subparser.add_argument | # arguments: A list of dicts of args for subparser.add_argument | ||||||
| ESCPOS_COMMANDS: list[dict[str, Any]] = [ | ESCPOS_COMMANDS: List[Dict[str, Any]] = [ | ||||||
|     { |     { | ||||||
|         "parser": { |         "parser": { | ||||||
|             "name": "qr", |             "name": "qr", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Patrick Kanzler
					Patrick Kanzler