class documentation

Base class for configuring BaseRun instances.

Parameters
**kwargsany leftover keyword arguments after subclasses have done their parsing
Class Method from_dict Constructs a BaseRunConfig from a serialized JSON dict representation of it.
Static Method base_config_cls Returns the config class for the given run type.
Method __init__ Undocumented
Method attributes Returns the list of class attributes that will be serialized by serialize.
Method build Builds the BaseRun instance associated with this config.
Method load_credentials Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config.
Property cls The fully-qualified name of this BaseRunConfig class.
Property method The name of the method.
Property run_cls The BaseRun class associated with this config.
Property type The type of run.
Class Method _virtual_attributes A list of attributes that are serialized but should not be treated as parameters when loading the config class from the database.

Inherited from Config:

Method __repr__ Undocumented
@classmethod
def from_dict(cls, d): (source)

Constructs a BaseRunConfig from a serialized JSON dict representation of it.

Parameters
da JSON dict
Returns
a BaseRunConfig
@staticmethod
def base_config_cls(type): (source)

Returns the config class for the given run type.

Parameters
typea BaseRunConfig.type
Returns
a BaseRunConfig subclass
def attributes(self): (source)

Returns the list of class attributes that will be serialized by serialize.

Returns
a list of attributes
def build(self): (source)

Builds the BaseRun instance associated with this config.

Returns
a BaseRun instance
def load_credentials(self, **kwargs): (source)

Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config.

Parameters
**kwargssubclass-specific credentials

The fully-qualified name of this BaseRunConfig class.

The BaseRun class associated with this config.

@classmethod
def _virtual_attributes(cls): (source)

A list of attributes that are serialized but should not be treated as parameters when loading the config class from the database.