RealtimeContext
RealtimeContext is a class used to pass context metadata, such as the
request_timestamp, to the context parameter of a Realtime Feature View. This
class provides essential information that can be leveraged within your feature
transformations to ensure that features can be computed with accurate metadata.
Attributes​
secrets: A dictionary of secrets that are available to the resource provider. The keys are the names of the secrets and the values are the actual secret values. Secrets are defined in thesecretsfield of the@resource_providerdecorator.resources: A dictionary that maps the resource name to the resource returned by the resource provider. Resources are defined in theresource_providersfield of the@realtime_feature_viewdecorator.request_timestamp: A singledatetimeobject representing the timestamp of the request made to the feature server. Available in Python mode.request_timestamp_series: Apandas.Seriesobject where each element corresponds to the request_timestamp for each row in the input data. Available in Pandas mode.