abacusai.api_class.refresh

Classes

FeatureGroupExportConfig

An abstract class for feature group exports.

FileConnectorExportConfig

File connector export config for feature groups

DatabaseConnectorExportConfig

Database connector export config for feature groups

_FeatureGroupExportConfigFactory

Helper class that provides a standard way to create an ABC using

Module Contents

class abacusai.api_class.refresh.FeatureGroupExportConfig

Bases: abacusai.api_class.abstract.ApiClass

An abstract class for feature group exports.

connector_type: abacusai.api_class.enums.ConnectorType
classmethod _get_builder()
class abacusai.api_class.refresh.FileConnectorExportConfig

Bases: FeatureGroupExportConfig

File connector export config for feature groups

Parameters:
  • location (str) – The location to export the feature group to

  • export_file_format (str) – The file format to export the feature group to

location: str
export_file_format: str
__post_init__()
to_dict()

Standardizes converting an ApiClass to dictionary. Keys of response dictionary are converted to camel case. This also validates the fields ( type, value, etc ) received in the dictionary.

class abacusai.api_class.refresh.DatabaseConnectorExportConfig

Bases: FeatureGroupExportConfig

Database connector export config for feature groups

Parameters:
  • database_connector_id (str) – The ID of the database connector to export the feature group to

  • mode (str) – The mode to export the feature group in

  • object_name (str) – The name of the object to export the feature group to

  • id_column (str) – The name of the ID column

  • additional_id_columns (List[str]) – Additional ID columns

  • data_columns (Dict[str, str]) – The data columns to export the feature group to

database_connector_id: str
mode: str
object_name: str
id_column: str
additional_id_columns: List[str]
data_columns: Dict[str, str]
__post_init__()
to_dict()

Standardizes converting an ApiClass to dictionary. Keys of response dictionary are converted to camel case. This also validates the fields ( type, value, etc ) received in the dictionary.

class abacusai.api_class.refresh._FeatureGroupExportConfigFactory

Bases: abacusai.api_class.abstract._ApiClassFactory

Helper class that provides a standard way to create an ABC using inheritance.

config_abstract_class
config_class_key = 'connector_type'
config_class_map