diff --git a/.yoyo/snapshot b/.yoyo/snapshot new file mode 160000 index 00000000..d2698b0e --- /dev/null +++ b/.yoyo/snapshot @@ -0,0 +1 @@ +Subproject commit d2698b0e1a35fea0eff87d7e2c9256125d56ad21 diff --git a/crawl4ai/async_configs.py b/crawl4ai/async_configs.py index 174ec3e4..37f5e8cf 100644 --- a/crawl4ai/async_configs.py +++ b/crawl4ai/async_configs.py @@ -813,12 +813,6 @@ class HTTPCrawlerConfig: return HTTPCrawlerConfig.from_kwargs(config) class CrawlerRunConfig(): - _UNWANTED_PROPS = { - 'disable_cache' : 'Instead, use cache_mode=CacheMode.DISABLED', - 'bypass_cache' : 'Instead, use cache_mode=CacheMode.BYPASS', - 'no_cache_read' : 'Instead, use cache_mode=CacheMode.WRITE_ONLY', - 'no_cache_write' : 'Instead, use cache_mode=CacheMode.READ_ONLY', - } """ Configuration class for controlling how the crawler runs each crawl operation. @@ -1023,6 +1017,12 @@ class CrawlerRunConfig(): url: str = None # This is not a compulsory parameter """ + _UNWANTED_PROPS = { + 'disable_cache' : 'Instead, use cache_mode=CacheMode.DISABLED', + 'bypass_cache' : 'Instead, use cache_mode=CacheMode.BYPASS', + 'no_cache_read' : 'Instead, use cache_mode=CacheMode.WRITE_ONLY', + 'no_cache_write' : 'Instead, use cache_mode=CacheMode.READ_ONLY', + } def __init__( self,