Skip to content

Commit

Permalink
feat: ref
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
  • Loading branch information
artem1205 committed Jan 10, 2025
1 parent 0421ae1 commit c641e26
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ class AsyncHttpJobRepository(AsyncJobRepository):
creation_requester: Requester
polling_requester: Requester
download_retriever: SimpleRetriever
url_requester: Optional[
Requester
] # use it in case polling_requester provides some <id> and extra request is needed to obtain list of urls to download from
abort_requester: Optional[Requester]
delete_requester: Optional[Requester]
status_extractor: DpathExtractor
Expand All @@ -47,6 +44,9 @@ class AsyncHttpJobRepository(AsyncJobRepository):
record_extractor: RecordExtractor = field(
init=False, repr=False, default_factory=lambda: ResponseToFileExtractor({})
)
url_requester: Optional[Requester] = (
None # use it in case polling_requester provides some <id> and extra request is needed to obtain list of urls to download from
)

def __post_init__(self) -> None:
self._create_job_response_by_id: Dict[str, Response] = {}
Expand Down

0 comments on commit c641e26

Please sign in to comment.