tecton.declarative.RequestSource¶
-
class
tecton.declarative.
RequestSource
(schema)¶ Declare a
RequestSource
, for using request-time data in anOnDemandFeatureView
.Methods
Creates a new RequestSource
-
__init__
(schema)¶ Creates a new RequestSource
- Parameters
schema (
List
[Field
]) – Schema for the RequestSource inputs.
Example of a RequestSource declaration:
from tecton import RequestSource from tecton.types import Field, Float64 schema = [Field('amount', Float64)] transaction_request = RequestSource(schema=schema)
Attributes
schema
-