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
|
link: Url
|
||||||
eid: str
|
eid: str
|
||||||
annotation: Optional[str]
|
annotation: Optional[str]
|
||||||
context: str
|
context: Url
|
||||||
tags: Sequence[str]
|
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):
|
class Page(NamedTuple):
|
||||||
|
|
Loading…
Add table
Reference in a new issue