MCPcopy
hub / github.com/MisterBooo/LeetCodeAnimation / title_slug

Method title_slug

tools/anima/model.py:11–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9 title: str
10
11 def title_slug(self):
12 title_parts = re.split(r'\s+', self.title)
13 return f'{self.id:04d}-' + '-'.join(title_parts)
14
15
16@dataclass

Callers 2

create_solutionFunction · 0.95
doc_pathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected