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:
Dima Gerasimov 2020-05-27 08:22:57 +01:00 committed by karlicoss
parent 6453ff415d
commit f175acc848
4 changed files with 87 additions and 50 deletions

View file

@ -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)