def __init__(self, resources=None, count=None, md=None, ln=None, uri=None,
                 capability_name='unknown', allow_multifile=None, mapper=None,
                 resources_class=None):
        """Initialize ListBaseWithIndex."""
        self.resources_class = list if resources_class is None else resources_class
        if (resources is None):
            resources = self.resources_class()
        super(ListBaseWithIndex, self).__init__(resources=resources, count=count, md=md, ln=ln,
                                                uri=uri, capability_name=capability_name)
        # specific to lists with indexes
        self.max_sitemap_entries = 50000
        self.mapper = mapper
        self.allow_multifile = (
            True if (
                allow_multifile is None) else allow_multifile)
        self.check_url_authority = False
        self.content_length = 0
        self.num_files = 0            # Number of files read
        self.bytes_read = 0
def __init__ ( self , resources = None , count = None , md = None , ln = None , uri = None , capability_name = 'unknown' , allow_multifile = None , mapper = None , resources_class = None ) : self . resources_class = list if resources_class is None else resources_class if ( resources is None ) : resources = self . resources_class ( ) super ( ListBaseWithIndex , self ) . __init__ ( resources = resources , count = count , md = md , ln = ln , uri = uri , capability_name = capability_name ) self . max_sitemap_entries = 50000 self . mapper = mapper self . allow_multifile = ( True if ( allow_multifile is None ) else allow_multifile ) self . check_url_authority = False self . content_length = 0 self . num_files = 0 self . bytes_read = 0
Initialize ListBaseWithIndex.