Skip to content

fix: narrow arun return type hint#1907

Open
nightcityblade wants to merge 1 commit intounclecode:mainfrom
nightcityblade:fix/issue-1898
Open

fix: narrow arun return type hint#1907
nightcityblade wants to merge 1 commit intounclecode:mainfrom
nightcityblade:fix/issue-1898

Conversation

@nightcityblade
Copy link
Copy Markdown

Fixes #1898\n\n## Summary\n- annotate AsyncWebCrawler.arun() with the single-result container type it actually returns\n- clarify the docstring so editors understand the backwards-compatible container behavior\n\n## Testing\n- python3 -m py_compile crawl4ai/async_webcrawler.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: arun() and arun_many() type hinting needs fixing

1 participant