MCPcopy Index your code
hub / github.com/plotly/plotly.py / _check_name_not_reserved

Function _check_name_not_reserved

plotly/express/_core.py:1103–1110  ·  view source on GitHub ↗
(field_name, reserved_names)

Source from the content-addressed store, hash-verified

1101
1102
1103def _check_name_not_reserved(field_name, reserved_names):
1104 if field_name not in reserved_names:
1105 return field_name
1106 else:
1107 raise NameError(
1108 "A name conflict was encountered for argument '%s'. "
1109 "A column or index with name '%s' is ambiguous." % (field_name, field_name)
1110 )
1111
1112
1113def _get_reserved_col_names(args):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected