Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yindaheng98 committed Feb 24, 2024
1 parent afa212c commit 2708d7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dblp_crawler/graph.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import abc
import asyncio
import logging
from typing import Optional, Iterable, AsyncIterable, List, Dict, Set
from typing import Optional, Iterable, AsyncIterable, List, Dict, Set, Tuple

from dblp_crawler import download_person, DBLPPerson, Publication, download_journal_list, JournalList
from .gather import gather
Expand Down Expand Up @@ -136,7 +136,7 @@ def summarize_publication(self, authors_id: List[str], publication: Publication)
"""你想要如何Summary一个`Publication`数据?实现此方法"""
pass

async def bfs_once(self) -> tuple[int, int]:
async def bfs_once(self) -> Tuple[int, int]:
"""执行`summarize_person`和`summarize_publication`指定的Summary过程"""
# 执行summarize
async for publication in self.filter_publications_at_output(self._bfs_once()):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='dblp_crawler',
version='2.1.3',
version='2.1.4',
author='yindaheng98',
author_email='[email protected]',
url='https://github.com/yindaheng98/dblp-crawler',
Expand Down

0 comments on commit 2708d7e

Please sign in to comment.