mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-02-05 19:07:25 +08:00
Update fix_duplicate_links_in_index docstring
Co-authored-by: Nick Sweeting <git@sweeting.me>
This commit is contained in:
parent
01fb44fd40
commit
5e9b3099c6
@ -302,7 +302,7 @@ def parse_links_from_source(source_path: str, root_url: Optional[str]=None) -> T
|
||||
@enforce_types
|
||||
def fix_duplicate_links_in_index(snapshots: QuerySet, links: Iterable[Link]) -> Iterable[Link]:
|
||||
"""
|
||||
Look for urls in the index, and merge them too
|
||||
Given a list of in-memory Links, dedupe and merge them with any conflicting Snapshots in the DB.
|
||||
"""
|
||||
unique_urls: OrderedDict[str, Link] = OrderedDict()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user