monai.deploy.core.datastores.DatastoreFactory

class monai.deploy.core.datastores.DatastoreFactory[source]

Bases: object

DatastoreFactory is an abstract class that provides a way to create a datastore object.

Methods

__init__()

create(datastore_type[, datastore_params])

Creates a datastore object.

Attributes

DEFAULT

NAMES

static create(datastore_type, datastore_params=None)[source]

Creates a datastore object.

Parameters
  • datastore_type (str) – A type of the datastore.

  • datastore_params (Dict) – A dictionary of parameters of the datastore.

Returns

A datastore object.

Return type

Datastore