getSubscribers does not work
- Dominant language
- Python
- Stars
- 40
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
There is an error in the _rtcclient\workitem.py_ when calling **getSubscribers**. The method calls resource that does not exist.
This line calls:
```
return self.rtc_obj._get_paged_resources("Subscribers",
workitem_id=self.identifier,
page_size="10")
```
However, in _rtcclient\client.py_ work item does not contain **Subscribers** but it contains **Subscriber** :
```
workitem_required = [
"Comment", "Subscriber", "IncludedInBuild", "Parent", "Children",
"ChangeSet", "Attachment"
]
```
running getSubscribers() results in:
```
raise exception.BadValue("Unsupported resource name")
rtcclient.exception.BadValue: Unsupported resource name
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.