New Feature Retrieval SDK Methods | Tecton

Tecton

Home / Whats New / New Feature Retrieval SDK Methods /

New Feature Retrieval SDK Methods

Tecton is releasing a new API to be used for feature retrieval. For fetching features from the offline store, we’ve introduced the method get_historical_features. For fetching features from the online store, we’ve introduced the method get_online_features. Both these methods can be called on Feature Services, Feature Views, and Feature Tables.

These methods will replace existing methods get_feature_dataframeget_feature_vectorget_featurespreview, and the module level functions tecton.get_historical_features and tecton.get_online_features. These functions will be deprecated in the future so please transition into using the new api.

There is also a new method introduced for data sources. On a BatchDataSource or a StreamDataSource, we will be deprecating the dataframe and previewmethods, and instead introducing the get_dataframe method. This returns the data from the data source as a TectonDataFrame. You can filter the data fetched using the start_time and end_time parameters.

The API details can be found here under each FeatureView type.

Introducing Tecton SDK 0.3

Tecton SDK version 0.3 has just been released and is now available. We highly recommend upgrading to version 0.3 to access new features and improvements. Note that version 0.2 of the SDK will continue to be supported until June 2022.

Read More »

© Tecton, Inc. All rights reserved. Various trademarks held by their respective owners.

Request a free trial

Interested in trying Tecton? Leave us your information below and we’ll be in touch.​

Tell us a bit more...​

Interested in trying Tecton? Leave us your information below and we’ll be in touch.​

Request a free trial

Interested in trying Tecton? Leave us your information below and we’ll be in touch.​