diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2023-08-03 12:26:51 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2023-08-03 12:47:49 +0200 |
commit | 093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95 (patch) | |
tree | 69db3bac569d41ef0e073ac36d2b66144417e6e2 /glucometerutils/drivers/otverio2015.py | |
parent | Update minimum supported Python version to 3.9. (diff) | |
download | glucometerutils-093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95.tar glucometerutils-093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95.tar.gz glucometerutils-093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95.tar.bz2 glucometerutils-093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95.tar.lz glucometerutils-093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95.tar.xz glucometerutils-093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95.tar.zst glucometerutils-093a39d72dbc7d18c0aacbdd5a4ba6a04cd64f95.zip |
Diffstat (limited to 'glucometerutils/drivers/otverio2015.py')
-rw-r--r-- | glucometerutils/drivers/otverio2015.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/glucometerutils/drivers/otverio2015.py b/glucometerutils/drivers/otverio2015.py index b7b4c93..76f3c84 100644 --- a/glucometerutils/drivers/otverio2015.py +++ b/glucometerutils/drivers/otverio2015.py @@ -26,7 +26,8 @@ https://protocols.glucometers.tech/lifescan/onetouch-verio-2015 import binascii import datetime import logging -from typing import Any, Dict, Generator, Optional +from collections.abc import Generator +from typing import Any, Optional import construct from pyscsi.pyscsi.scsi import SCSI @@ -141,7 +142,7 @@ class Device(driver.GlucometerDevice): self, lba: int, request_format: construct.Struct, - request_obj: Optional[Dict[str, Any]], + request_obj: Optional[dict[str, Any]], response_format: construct.Struct, ) -> construct.Container: """Send a request to the meter, and read its response. |