MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / key

Function key

graphify/extract.py:8816–8817  ·  view source on GitHub ↗
(label: str)

Source from the content-addressed store, hash-verified

8814 matches the class's own unqualified label by its last segment).
8815 """
8816 def key(label: str) -> str:
8817 return str(label).strip().removeprefix(".").removesuffix("()").lower()
8818
8819 def class_key(name: str) -> str:
8820 return str(name).strip().lstrip("\\").rsplit("\\", 1)[-1].lower()

Callers 4

_type_namedFunction · 0.70
_chain_typeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected