Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapy/scrapy
/ ensure_awaitable
Function
ensure_awaitable
scrapy/utils/defer.py:543–543 ·
view source on GitHub ↗
(o: Awaitable[_T], _warn: str | None = None)
Source
from the content-addressed store, hash-verified
541
542
@overload
543
def
ensure_awaitable(o: Awaitable[_T], _warn: str | None = None) -> Awaitable[_T]: ...
544
545
546
@overload
Callers
15
_process_chain
Method · 0.90
handler
Function · 0.90
call_spider_async
Method · 0.90
close_spider_async
Method · 0.90
_process_request
Method · 0.90
_process_response
Method · 0.90
_process_exception
Method · 0.90
_close
Method · 0.90
image_downloaded
Method · 0.90
media_downloaded
Method · 0.90
_file_downloaded
Method · 0.90
_process_request
Method · 0.90
Calls
2
maybe_deferred_to_future
Function · 0.85
coro
Function · 0.85
Tested by
2
create_scheduler
Function · 0.72
test_crawl_multiple
Method · 0.72