salt-ext-modules-vmware icon indicating copy to clipboard operation
salt-ext-modules-vmware copied to clipboard

get rid of `vmc_constants.py`

Open dhiltonp opened this issue 3 years ago • 0 comments

80% of the variables in vmc_constants.py are only used one time, and 95% of the time the variables are re-used, they are like GET_REQUEST_METHOD = "get", and it's better to use "get" in the code directly.

"get" as a http method is not changing, and request(method="get" is perfectly clear.

dhiltonp avatar Oct 12 '21 19:10 dhiltonp