def __init__ ( self , collection , index_type_obj ) : self . collection = collection self . index_type_obj = index_type_obj
artifactory python nested indexes
Constructs wrapper for general index creation and deletion
def __init__(self, collection, index_type_obj):
        """
            Constructs wrapper for general index creation and deletion

            :param collection Collection
            :param index_type_obj BaseIndex Object of a index sub-class
        """

        self.collection = collection
        self.index_type_obj = index_type_obj