mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
refactor(walmart): align reviews executor docstring
This commit is contained in:
parent
56e8fa13e6
commit
d7c30cac2f
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ ReviewsFn = Callable[..., Awaitable[list[dict]]]
|
|||
|
||||
|
||||
def build_reviews_executor(scrape_fn: ReviewsFn | None = None) -> Executor:
|
||||
"""Bind the executor to a reviews scraper fn (defaults to the proprietary actor)."""
|
||||
"""Bind the capability input mapping to a replaceable reviews scraper function."""
|
||||
scrape_fn = scrape_fn or scrape_reviews
|
||||
|
||||
async def execute(payload: ReviewsInput) -> ReviewsOutput:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue