Skip to main content
Version: 0.8

tecton.PushConfig

Summary​

The PushConfig class is used to configure the ingestion of records via the Stream Ingest API.

This class is used as an input to a :class:StreamSource's parameter stream_config. Declaring this configuration class alone will not register a Data Source. Instead, declare as a part of StreamSource that takes this configuration class instance as a parameter.

Example​

from tecton import PushConfig

stream_config = PushConfig(log_offline=False)

Methods​

__init__(...)​

Instantiates a new PushConfig.

Parameters​

  • log_offline: If set to True, the Stream Ingest API will log the incoming records for the stream source to an offline table, which can later be used for training data generation.

Returns​

A PushConfig class instance.

Was this page helpful?

🧠 Hi! Ask me anything about Tecton!

Floating button icon