scrapy_dynamic_spiders/factories/base_factory.py
def _construct_custom_settings(self, spidercls) -> dict:
        """
        Constructs a dictionary describing the custom_settings class attribute of a new temporary spider class, based
        on the factory's attributes and the provided template spider class

        :return: a custom_settings dicitonary
        """
        if self.settings_ow:
            settings = {}
        else:
            settings = copy.deepcopy(spidercls.custom_settings)
            if not settings:
                settings = {}

        for key, value in self.custom_settings.items():
            settings[key] = value

        return settings

        Constructs a dictionary describing the custom_settings class attribute of a new temporary spider class, based
        on the factory's attributes and the provided template spider class

        :return: a custom_settings dicitonary
        
Constructs a dictionary describing the custom_settings class attribute of a new temporary spider class, based
on the factory's attributes and the provided template spider class
Constructs a dictionary describing the custom_settings class attribute of a new temporary spider class based on the factory ' s attributes and the provided template spider class
def _construct_custom_settings(self, spidercls) -> dict:
        if self.settings_ow:
            settings = {}
        else:
            settings = copy.deepcopy(spidercls.custom_settings)
            if not settings:
                settings = {}
        for key, value in self.custom_settings.items():
            settings[key] = value
        return settings
def _construct_custom_settings ( self , spidercls ) -> dict : if self . settings_ow : settings = { } else : settings = copy . deepcopy ( spidercls . custom_settings ) if not settings : settings = { } for key , value in self . custom_settings . items ( ) : settings [ key ] = value return settings
Constructs a dictionary describing the custom_settings class attribute of a new temporary spider class, based
on the factory's attributes and the provided template spider class
Constructs a dictionary describing the custom_settings class attribute of a new temporary spider class based on the factory ' s attributes and the provided template spider class
"""
        Constructs a dictionary describing the custom_settings class attribute of a new temporary spider class, based
        on the factory's attributes and the provided template spider class

        :return: a custom_settings dicitonary
        """
a custom_settings dicitonary
a custom_settings dicitonary
self
spidercls