RedHatQE / pylero

Python wrapper for the Polarion WSDL API
https://redhatqe.github.io/pylero/
MIT License
38 stars 25 forks source link

Remove: get_document_locations function and docs related #143

Closed JaneSoo closed 1 year ago

JaneSoo commented 1 year ago

It seems that get_document_locations is not available anymore. Here is the result when calling the method: `project.get_document_locations() Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/pylero/project.py", line 218, in get_document_locations return self.session.tracker_client.service.getDocumentLocations(self.project_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/suds/client.py", line 327, in getattr return getattr(port, name) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/suds/client.py", line 441, in getattr return getattr(m, name) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/suds/client.py", line 540, in getattr return self[name]


  File "/usr/lib/python3.11/site-packages/suds/client.py", line 555, in __getitem__
    raise MethodNotFound(qn)
suds.MethodNotFound: Method not found: 'TrackerWebServiceService.TrackerWebService.getDocumentLocations'`

Additionally, I checked here: https://almdemo.polarion.com/polarion/ws/services/TrackerWebService?wsdl, and I couldn't find any getDocumentLocations().
waynesun09 commented 1 year ago

@JaneSoo Thanks, merged