unioslo / harborapi

Python async client for the Harbor REST API v2.0.
https://unioslo.github.io/harborapi/
MIT License
28 stars 5 forks source link

Rename ping_harbor_api() to ping() #6

Closed pederhan closed 1 year ago

pederhan commented 2 years ago

The method name HarborAsyncClient.ping_harbor_api() is too verbose. It's obvious that a method called HarborAsyncClient.ping() pings the Harbor API, and the existing docstring of the method squashes any doubts about its purpose.

Renaming this method is a breaking API change, but no one uses this library yet, so who cares.

pederhan commented 1 year ago

Fixed by d542c5d66ae0a2646f0f666ecc4129e33fd39a4b