ocket8888 opened a new pull request #4413: Python client upgrade URL: https://github.com/apache/trafficcontrol/pull/4413 ## What does this PR (Pull Request) do? - [x] This PR is not related to any Issue Upgrades the Python ATC client (and therefore the `to_access` package) to use TO API v2. This strips out any methods/endpoints which don't exist in TO API v2 as well as adds a couple of methods to endpoints that were missing them (like `DELETE /jobs`). I also moved one or two things, like putting `caches/stats` right next to `cache_stats` instead of in separate "sections". I also took this opportunity to strip out _all_ of the unicode literal prefixes on strings in the `tosession.py` file, since the `2.0`s on every endpoint method won't use it anyway, and to use `raise from` instead of `raise_from(` since we don't support Python 2 anymore. Also updated the docs to reflect the current version of ATC. ## Which Traffic Control components are affected by this PR? - Traffic Control Client (Python) ## What is the best way to verify this PR? There're no tests for the client, so I'd suggest just installing the package and running a few test method calls. ## The following criteria are ALL met by this PR - [x] I have explained why tests don't exist - [x] This PR includes documentation - [x] This PR includes an update to CHANGELOG.md OR such an update is not necessary - [x] This PR includes any and all required license headers - [x] This PR does not include a database migration - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY**
---------------------------------------------------------------- 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] With regards, Apache Git Services
