provenaclient.models.datastore

Created Date: Thursday June 6th 2024 +1000 Author: Peter Baker —– Last Modified: Thursday June 6th 2024 1:39:55 pm +1000 Modified By: Peter Baker —– Description: Set of Pydantic models used to define client interfaces which are missing. —– HISTORY: Date By Comments ———- — ———————————————————

Classes

SearchItem

LoadedSearchItem

UnauthorisedSearchItem

FailedSearchItem

RevertMetadata

LoadedSearchResponse

Module Contents

class provenaclient.models.datastore.SearchItem[source]

Bases: pydantic.BaseModel

id: str
score: float
class provenaclient.models.datastore.LoadedSearchItem[source]

Bases: SearchItem

item: ProvenaInterfaces.RegistryModels.ItemDataset
class provenaclient.models.datastore.UnauthorisedSearchItem[source]

Bases: SearchItem

class provenaclient.models.datastore.FailedSearchItem[source]

Bases: SearchItem

error_info: str
class provenaclient.models.datastore.RevertMetadata[source]

Bases: pydantic.BaseModel

id: str
history_id: int
reason: str
class provenaclient.models.datastore.LoadedSearchResponse[source]

Bases: pydantic.BaseModel

items: List[LoadedSearchItem]
auth_errors: List[UnauthorisedSearchItem]
misc_errors: List[FailedSearchItem]