Merge pull request #1454 from nafeqq-1306/docstring-changes
issue #1329: Docs are not detected due to triplequotes not being first line
This commit is contained in:
1
.yoyo/snapshot
Submodule
1
.yoyo/snapshot
Submodule
Submodule .yoyo/snapshot added at d2698b0e1a
@@ -834,12 +834,6 @@ class HTTPCrawlerConfig:
|
|||||||
return HTTPCrawlerConfig.from_kwargs(config)
|
return HTTPCrawlerConfig.from_kwargs(config)
|
||||||
|
|
||||||
class CrawlerRunConfig():
|
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.
|
Configuration class for controlling how the crawler runs each crawl operation.
|
||||||
@@ -1046,6 +1040,12 @@ class CrawlerRunConfig():
|
|||||||
|
|
||||||
url: str = None # This is not a compulsory parameter
|
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__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user