def __init__(self, *args):
        """
        Initialize the Equipment component.

        :param args:
        """

        super(Equipment, self).__init__("EQUIPMENT", *args)

        self.log("Started")
        self.equipment = {}

        for item in objectmodels['equipment'].find():
            self.equipment[item.uuid] = item

        self.log('Cached', len(self.equipment), 'Equipment items')
def __init__ ( self , * args ) : super ( Equipment , self ) . __init__ ( "EQUIPMENT" , * args ) self . log ( "Started" ) self . equipment = { } for item in objectmodels [ 'equipment' ] . find ( ) : self . equipment [ item . uuid ] = item self . log ( 'Cached' , len ( self . equipment ) , 'Equipment items' )
Initialize the Equipment component.

        :param args: