class documentation

Undocumented

Class Method multi_source_features_for Undocumented
Method all_between_dates Undocumented
Method all_data Undocumented
Method depends_on Undocumented
Async Method freshness .table("my_table") .freshness()
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
Class Variable condition Undocumented
Class Variable source Undocumented
Class Variable type_name Undocumented
Property polars_expression Undocumented

Inherited from CodableBatchDataSource:

Class Method _deserialize Undocumented
Method _serialize Undocumented

Inherited from BatchDataSource (via CodableBatchDataSource):

Method __hash__ Undocumented
Method all Undocumented
Method all_columns 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 source_id An id that identifies a source from others.
Method tags Undocumented
Method transform_with_polars Undocumented
Method with_loaded_at Undocumented
Method with_view Undocumented
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 depends_on(self) -> set[FeatureLocation]: (source)
async def freshness(self, feature: Feature) -> datetime | None: (source)

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

)

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
condition: DerivedFeature | Feature | str | bytes = (source)

Undocumented

@property
polars_expression: pl.Expr = (source)

Undocumented