diff --git a/dbdpy/apple_watch.py b/dbdpy/apple_watch.py index 5c7a8103..65d411cf 100644 --- a/dbdpy/apple_watch.py +++ b/dbdpy/apple_watch.py @@ -2,6 +2,7 @@ import xml.etree.ElementTree as ET from dbdpy.commercial_device import CommercialDevice +from dbdpy.apple_watch import AppleWatch class AppleWatch(CommercialDevice): @@ -25,7 +26,7 @@ def __init__(self, self.respiration_rate = respiration_rate @classmethod - def read_file(cls, filepath: str): + def read_file(cls, filepath: str) -> AppleWatch: # Extract data from XML file and put into dataframe tree = ET.parse(filepath) root = tree.getroot()