def settings(self):
        """Returns a copy of current settings.

        As some of the attributes are themselves containers, we clone the
        settings to provide clones for those containers as well.
        """
        # Shallow copy first
        cloned_setting = self._settings.copy()
        # Don't want clone to link to same RT containers
        cloned_setting[IMPORT_RTS] = self.import_rts
        cloned_setting[EXPORT_RTS] = self.export_rts
        cloned_setting[SITE_OF_ORIGINS] = self.soo_list
        return cloned_setting
def settings ( self ) : cloned_setting = self . _settings . copy ( ) cloned_setting [ IMPORT_RTS ] = self . import_rts cloned_setting [ EXPORT_RTS ] = self . export_rts cloned_setting [ SITE_OF_ORIGINS ] = self . soo_list return cloned_setting
Returns a copy of current settings.

        As some of the attributes are themselves containers, we clone the
        settings to provide clones for those containers as well.