def _snake_to_camel_case(original_text: str) -> str:
  """Converts attribute name from snake to camel case."""
  if original_text:
    original_text = original_text[0].lower() + original_text[1:]
  components = original_text.replace(' ', '_').split('_')
  if len(components) > 1:
    return (components[0].lower() +
            ''.join(token.capitalize() for token in components[1:]))
  else:
    return components[0]