abacusai.api_class.refresh — AbacusAI documentation

# 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` |

## 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 = None
  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 = None
  export_file_format: str = None
  __post_init__()
  to_dict()

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 = None
  mode: str = None
  object_name: str = None
  id_column: str = None
  additional_id_columns: List[str] = None
  data_columns: Dict[str, str] = None
  __post_init__()
  to_dict()

class abacusai.api_class.refresh._FeatureGroupExportConfigFactory

  Bases: `abacusai.api_class.abstract._ApiClassFactory`

  config_abstract_class
  config_class_key = 'connector_type'
  config_class_map