MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / _is_valid_identifier

Method _is_valid_identifier

apps/plugins/loader.py:635–636  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

633 return folder_name
634
635 def _is_valid_identifier(self, name: str) -> bool:
636 return re.match(r"^[A-Za-z_][A-Za-z0-9_]*$", name) is not None
637
638 def _safe_module_name(self, value: str) -> str:
639 safe = re.sub(r"[^0-9A-Za-z_]", "_", value)

Callers 1

_resolve_alias_nameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected