We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ca235 commit a379eb4Copy full SHA for a379eb4
src/apify/scrapy/scheduler.py
@@ -59,9 +59,7 @@ async def open_queue() -> RequestQueue:
59
# Use the ApifyStorageClient if the Actor is running on the Apify platform,
60
# otherwise use the MemoryStorageClient.
61
storage_client = (
62
- ApifyStorageClient.from_config(config)
63
- if config.is_at_home
64
- else MemoryStorageClient.from_config(config)
+ ApifyStorageClient.from_config(config) if config.is_at_home else MemoryStorageClient.from_config(config)
65
)
66
67
return await RequestQueue.open(storage_client=storage_client)
0 commit comments