(self, options=None)
Trigger find of serialized sources and build objects
Trigger find of serialized sources and build objects
Trigger find of serialized sources and build objects
def map(self, options=None):
        """Trigger find of serialized sources and build objects"""
        for _, data in sphinx.util.status_iterator(
            self.paths.items(),
            bold("[AutoAPI] ") + "Mapping Data... ",
            length=len(self.paths),
            stringify_func=(lambda x: x[0]),
        ):
            references = data.get("references", [])
            for item in data["items"]:
                for obj in self.create_class(item, options, references=references):
                    self.add_object(obj)

        self.organize_objects()
def map ( self , options = None ) : for _ , data in sphinx . util . status_iterator ( self . paths . items ( ) , bold ( "[AutoAPI] " ) + "Mapping Data... " , length = len ( self . paths ) , stringify_func = ( lambda x : x [ 0 ] ) , ) : references = data . get ( "references" , [ ] ) for item in data [ "items" ] : for obj in self . create_class ( item , options , references = references ) : self . add_object ( obj ) self . organize_objects ( )