title property
This commit is contained in:
parent
ad19c3c7dc
commit
4590f9c139
1 changed files with 6 additions and 2 deletions
|
@ -21,9 +21,13 @@ class Entry(NamedTuple):
|
|||
link: Url
|
||||
eid: str
|
||||
annotation: Optional[str]
|
||||
context: str
|
||||
context: Url
|
||||
tags: Sequence[str]
|
||||
hyp_link: str
|
||||
hyp_link: Url
|
||||
|
||||
@property
|
||||
def title(self):
|
||||
return self.summary # TODO eh, remove one of them?...
|
||||
|
||||
|
||||
class Page(NamedTuple):
|
||||
|
|
Loading…
Add table
Reference in a new issue