claudio-benfatto opened a new pull request #130: URL: https://github.com/apache/atlas/pull/130
Some of the python client api endpoints are currently broken as the result of the concatenation of the base url with the relative context path items. Specifically this happens for those path which contain a trailing forward slash (`/`), e.g. - https://github.com/apache/atlas/blob/master/intg/src/main/python/apache_atlas/client/entity.py#L61 and - https://github.com/apache/atlas/blob/master/intg/src/main/python/apache_atlas/client/entity.py#L58 This produced requests of the kind: ``` /api/atlas/v2/entity/uniqueAttribute/type//topic_schema ``` which obviously resulted in errors. Instead of simply removing the `/` from the base paths I've chosen the approach of replacing the url concatenation method with a more robust one that handles leading and trailing slashes transparently. I did not find any tests for this module. If I'm wrong please let me know and I'll add/modify them. Regards! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
