pocket: reuse pockexport data access layer
BREAKING CHANGE! Data parsing was switched to pockexport. This would help to keep it consistent across different apps in the future. When you update, you'll need to: - clone pockexport (latest version) - set pockexport repository in your config (see doc/MODULES.org)
This commit is contained in:
parent
6453ff415d
commit
f175acc848
4 changed files with 87 additions and 50 deletions
|
@ -58,8 +58,6 @@ def _dal() -> dal.DAL:
|
|||
return dal.DAL(sources)
|
||||
|
||||
|
||||
|
||||
|
||||
def highlights() -> List[Res[Highlight]]:
|
||||
return sort_res_by(_dal().highlights(), key=lambda h: h.created)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue