MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / summary

Method summary

docs/website/scripts/split_courses.py:52–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 global_order: int = 0
51
52 def summary(self) -> str:
53 for line in self.body_lines:
54 t = line.strip()
55 if not t:
56 continue
57 if t.startswith("{{<") or t.startswith("!["):
58 continue
59 if t.startswith("*") or t.startswith("-"):
60 continue
61 return t[:190]
62 return "Watch the lesson and follow the accompanying resources."
63
64
65@dataclass

Callers 1

write_lessonsFunction · 0.80

Calls 1

stripMethod · 0.45

Tested by

no test coverage detected