salt.states.testinframod

salt.states.testinframod.camel_to_snake_case(camel_input)

Converts camelCase (or CamelCase) to snake_case. From https://codereview.stackexchange.com/questions/185966/functions-to-convert-camelcase-strings-to-snake-case

Parameters:

camel_input (str) -- The camelcase or CamelCase string to convert to snake_case

:return str