Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
example.py fails to run with: ``` ./example.py Traceback (most recent call last): File "/Users/parminderdhillon/projects/python-garminconnect/./example.py", line 20, in <module> from garminconnect import ( File "/Users/parminderdhillon/projects/python-garminconnect/garminconnect/__init__.py", line 15, in <module> class Garmin: File "/Users/parminderdhillon/projects/python-garminconnect/garminconnect/__init__.py", line 727, in Garmin def get_device_alarms(self) -> List[str, Any]: ~~~~^^^^^^^^^^ File "/usr/local/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/typing.py", line 358, in inner return func(*args, **kwds) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/typing.py", line 1569, in __getitem__ _check_generic(self, params, self._nparams) File "/usr/local/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/typing.py", line 286, in _check_generic raise TypeError(f"Too {'many' if alen > elen else 'few'} arguments for {cls};" TypeError: Too many arguments for typing.List; actual 2, expected 1 ```
- Loading branch information