Currently, the API does not work for versions before python 3.9.
If you try to use an earlier version, you will get a TypeError: 'type' object is not subscriptable.
The issue comes from wiopy/arguments.py:
def get_items_ids(items: Union[str, list[str]]) -> list[str]:
if not isinstance(items, str) and not isinstance(items, list):
raise InvalidParameterException('Invalid items argument, it should be a string or List of strings')
...
list type casting only works for python>=3.9
To fix, import List
This issue will be fixed. I (the developer) am a little busy. But I will fix this issue and update pypi
Currently, the API does not work for versions before python 3.9.
If you try to use an earlier version, you will get a
TypeError: 'type' object is not subscriptable.The issue comes from wiopy/arguments.py:
listtype casting only works for python>=3.9To fix, import
ListThis issue will be fixed. I (the developer) am a little busy. But I will fix this issue and update pypi