kubernetes-client/python
Voir sur GitHubSome suggestions for improvements to auto-generated docs
Open
#2 337 ouverte le 27 janv. 2025
help wantedkind/documentation
Métriques du dépôt
- Stars
- (6 225 stars)
- Métriques de merge PR
- (Merge moyen 10j 3h) (2 PRs mergées en 30 j)
Description
I noticed a few minor improvements that can be made to the auto-generated docs. Admittedly, these changes are obvious for the user to make, but typically one expects examples to work out-of-the-box as much as possible.
- The empty classes don't always work. For example, pass in a empty
kubernetes.client.V1ServiceAccount()toreplace_namespaced_service_accountand you'll get an errorthe name of the object (name-example based on URL) was undeterminable: name must be provided. The class could use arguments or a message telling the user to provide arguments. - name does not follow kubernetes naming format, should have - instead of _
- namespace does not follow kubernetes naming format, should have - instead of _