Source

The Source model represents a data source in the Praxos platform. It provides functionality to interact with and manage data sources.

Properties

PropertyTypeDescription
idstringUnique identifier for the source
namestringName of the source
created_atstringTimestamp when the source was created
environment_idstringID of the environment this source belongs to
descriptionstringDescription of the source

SyncSource

The SyncSource class represents a synchronous source resource.

Methods

get_status()

Retrieves the current status of the source.

source = SyncSource(...)
status = source.get_status()

Returns:

  • string: A string as a single word reperesending the current status of source.

Example Usage

# Initialize a sync source
source = environment.get_source(source_id="source id")

# Get source status
status = source.get_status()