in azure/functions/decorators/utils.py [0:0]
def to_camel_case(snake_case_str: str):
if snake_case_str is None or len(snake_case_str) == 0:
raise ValueError(
f"Please ensure arg name {snake_case_str} is not empty!")
if not is_snake_case(snake_case_str) and not is_word(snake_case_str):
raise ValueError(
f"Please ensure {snake_case_str} is a word or snake case "
f"string with underscore as separator.")
words = snake_case_str.split('_')
return words[0] + ''.join([ele.title() for ele in words[1:]])