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

OSZAR »