Once features and training sets are registered, they can be served via Featureform’s Python API.
ondemand_feature
decorator to your function. The function will need to have serving_client
, params
, entities
, as part of it’s definition.
wait()
function can be used to wait until a feature table is fully materialized before attempting to lookup the feature. It has an optional timeout in second to wait until for the materialization completion.
wait()
function can be used to wait until the specified training set is ready to be served before attempting to call it. It has an optional timeout in seconds to wait for the training set to be complete.
features
and training_set
methods accept the same optional model
param, which is typically a string. We can see a list of models in the dashboard and drill down into a specific model to see the features and/or training sets that are associated with it.