def create_persisted_object(self, location: str, logger: Logger) -> PersistedObject:
        """
        Creates a PersistedObject representing the object at location 'location', and recursively creates all of its
        children

        :param location:
        :param logger:
        :return:
        """
        #print('Checking all files under ' + location)
        logger.debug('Checking all files under [{loc}]'.format(loc=location))
        obj = FileMappingConfiguration.RecursivePersistedObject(location=location, file_mapping_conf=self,
                                                                logger=logger)
        #print('File checks done')
        logger.debug('File checks done')
        return obj
def create_persisted_object ( self , location : str , logger : Logger ) -> PersistedObject : logger . debug ( 'Checking all files under [{loc}]' . format ( loc = location ) ) obj = FileMappingConfiguration . RecursivePersistedObject ( location = location , file_mapping_conf = self , logger = logger ) logger . debug ( 'File checks done' ) return obj
Creates a PersistedObject representing the object at location 'location', and recursively creates all of its
        children

        :param location:
        :param logger:
        :return: