1
0
Fork 0
mirror of synced 2024-06-24 00:50:23 +12:00

fix: Minor issues that were breaking tests

This commit is contained in:
Cristian 2021-01-05 09:44:17 -05:00
parent b8efaa5b6a
commit 11b08a063d
2 changed files with 5 additions and 2 deletions

View file

@ -6,7 +6,7 @@ import re
from typing import IO, Iterable
from datetime import datetime
from django.db.models imort Model
from django.db.models import Model
from ..util import (
htmldecode,

View file

@ -7,6 +7,9 @@ from typing import IO, Iterable, Optional
from configparser import ConfigParser
from pathlib import Path
from django.db.models import Model
from ..vendor.pocket import Pocket
from ..util import enforce_types
@ -96,7 +99,7 @@ def should_parse_as_pocket_api(text: str) -> bool:
@enforce_types
def parse_pocket_api_export(input_buffer: IO[str], **_kwargs) -> Iterable[Link]:
def parse_pocket_api_export(input_buffer: IO[str], **_kwargs) -> Iterable[Model]:
"""Parse bookmarks from the Pocket API"""
input_buffer.seek(0)