# Indexes

# NativeIndex

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

# add

add(self, submission)

Adds a submission to the index

# Arguments

  • submission: String|Submission, filesystem URL or submission

# find

find(self, submission_id: str)

Finds an experiment

# Arguments

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

# Returns

Instance or collection of machinable.storage.Submission

# SqlIndex

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

# add

add(self, submission)

Adds a submission to the index

# Arguments

  • submission: String|Submission, filesystem URL or submission

# find

find(self, submission_id: str)

Finds an experiment

# Arguments

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

# Returns

Instance or collection of machinable.storage.Submission