scrapy_dynamic_spiders/utils/factory_utils.py
def construct_rule(extractor_config: dict, rule_config: dict) -> Rule:
    """
    Constructs a Rule object using two kwarg dictionaries

    :param extractor_config: a dictionary of kwargs for a LinkExtractor
    :param rule_config: a dictionary of kwargs for a Rule
    :return: a Rule object
    """
    return Rule(LinkExtractor(**extractor_config), **rule_config)

    Constructs a Rule object using two kwarg dictionaries

    :param extractor_config: a dictionary of kwargs for a LinkExtractor
    :param rule_config: a dictionary of kwargs for a Rule
    :return: a Rule object
    
Constructs a Rule object using two kwarg dictionaries
Constructs a Rule object using two kwarg dictionaries
def construct_rule(extractor_config: dict, rule_config: dict) -> Rule:
    return Rule(LinkExtractor(**extractor_config), **rule_config)
def construct_rule ( extractor_config : dict , rule_config : dict ) -> Rule : return Rule ( LinkExtractor ( ** extractor_config ) , ** rule_config )
Constructs a Rule object using two kwarg dictionaries
Constructs a Rule object using two kwarg dictionaries
"""
    Constructs a Rule object using two kwarg dictionaries

    :param extractor_config: a dictionary of kwargs for a LinkExtractor
    :param rule_config: a dictionary of kwargs for a Rule
    :return: a Rule object
    """
a Rule object
a Rule object
extractor_config
dict
a dictionary of kwargs for a LinkExtractor
a dictionary of kwargs for a LinkExtractor
rule_config
dict
a dictionary of kwargs for a Rule
a dictionary of kwargs for a Rule