class documentation

Undocumented

Class Method multi_source_features_for Undocumented
Method __hash__ Undocumented
Method all_between_dates Undocumented
Method all_data Undocumented
Method contains_config Undocumented
Async Method freshness .table("my_table") .freshness()
Async Method insert Undocumented
Method job_group_key A key defining which sources can be grouped together in one request.
Async Method schema Returns the schema for the data source
Method source_id An id that identifies a source from others.
Async Method upsert Undocumented
Class Variable config Undocumented
Class Variable mapping_keys Undocumented
Class Variable table Undocumented
Class Variable type_name Undocumented

Inherited from CodableBatchDataSource:

Class Method _deserialize Undocumented
Method _serialize Undocumented

Inherited from BatchDataSource (via CodableBatchDataSource):

Method all Undocumented
Method all_columns Undocumented
Method depends_on Undocumented
Async Method feature_view_code Setup the code needed to represent the data source as a feature view
Method features_for Undocumented
Method filter Undocumented
Method location_id Undocumented
Method tags Undocumented
Method transform_with_polars Undocumented
Method with_loaded_at Undocumented
Method with_view Undocumented

Inherited from ColumnFeatureMappable (via CodableBatchDataSource, BatchDataSource):

Method columns_for Undocumented
Method feature_identifier_for Undocumented
Method with_renames Undocumented

Inherited from WritableFeatureSource (via CodableBatchDataSource, BatchDataSource, ColumnFeatureMappable):

Async Method overwrite Undocumented
@classmethod
def multi_source_features_for(cls, facts: RetrivalJob, requests: list[tuple[PostgreSQLDataSource, RetrivalRequest]]) -> RetrivalJob: (source)
def all_between_dates(self, request: RetrivalRequest, start_date: datetime, end_date: datetime) -> RetrivalJob: (source)
def all_data(self, request: RetrivalRequest, limit: int | None) -> RetrivalJob: (source)
def contains_config(self, config: Any) -> bool: (source)

Undocumented

async def freshness(self, feature: Feature) -> datetime | None: (source)

my_table_freshenss = await (PostgreSQLConfig("DB_URL")
.table("my_table") .freshness()

)

async def insert(self, job: RetrivalJob, request: RetrivalRequest): (source)
def job_group_key(self) -> str: (source)

A key defining which sources can be grouped together in one request.

async def schema(self) -> dict[str, FeatureType]: (source)

Returns the schema for the data source

`python source = FileSource.parquet_at('test_data/titanic.parquet') schema = await source.schema() >>> {'passenger_id': FeatureType(name='int64'), ...} `

Returns:
dict[str, FeatureType]: A dictionary containing the column name and the feature type
def source_id(self) -> str: (source)

An id that identifies a source from others.

async def upsert(self, job: RetrivalJob, request: RetrivalRequest): (source)

Undocumented