# Indexes

# NativeIndex

machinable.index.native_index.NativeIndex(*args, **kwargs)

# add

add(self, experiment)

Adds an experiment to the index

# Arguments

  • model: String|StorageExperiment, filesystem URL or experiment

# find

find(self, experiment_id:str)

Finds an experiment

# Arguments

  • experiment: String, experiment ID. If None, all available index will be returned.

# Returns

Instance or collection of machinable.storage.StorageExperiment

# SqlIndex

machinable.index.sql_index.SqlIndex(*args, **kwargs)

# add

add(self, experiment)

Adds an experiment to the index

# Arguments

  • model: String|StorageExperiment, filesystem URL or experiment

# find

find(self, experiment_id:str)

Finds an experiment

# Arguments

  • experiment: String, experiment ID. If None, all available index will be returned.

# Returns

Instance or collection of machinable.storage.StorageExperiment