MCPcopy
hub / github.com/LawRefBook/Laws / Case

Class Case

scripts/convert.py:47–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47class Case(object):
48
49 def __init__(self) -> None:
50 self.title = None
51 self.subtitle = None
52 self.content: List[str] = []
53
54 @property
55 def filename(self) -> str:
56 return self.subtitle or self.title
57
58 def __repr__(self) -> str:
59 return f"<Case {self.filename} {len(self.content)}>"
60
61 __str__ = __repr__
62
63
64class CasesParser(object):

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected