Skip to main content
Version: 0.6

tecton.RequestSource

Summary​

Declare a RequestSource, for using request-time data in an OnDemandFeatureView.

Attributes​

NameData TypeDescription
schemaList[Field]The schema of this Request Source.

Methods​

__init__(...)​

Method generated by attrs for class RequestSource.

Parameters​

  • schema

Example​

from tecton import RequestSource
from tecton.types import Field, Float64

schema = [Field("amount", Float64)]
transaction_request = RequestSource(schema=schema)

Was this page helpful?

🧠 Hi! Ask me anything about Tecton!

Floating button icon