MCPcopy
hub / github.com/plotly/dash / format_fn_name

Function format_fn_name

dash/development/_r_components_generation.py:745–748  ·  view source on GitHub ↗
(prefix, name)

Source from the content-addressed store, hash-verified

743# camelCase for the resulting functions; if a prefix
744# is supplied, leave it as-is
745def format_fn_name(prefix, name):
746 if prefix:
747 return prefix + snake_case_to_camel_case(name)
748 return snake_case_to_camel_case(name[0].lower() + name[1:])
749
750
751# pylint: disable=unused-argument

Callers 3

generate_class_stringFunction · 0.70
write_help_fileFunction · 0.70
write_class_fileFunction · 0.70

Calls 1

snake_case_to_camel_caseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…