Singular Python Test
A singular test implemented in Python that runs as a standalone component.
SingularTestPython​
info
SingularTestPython
is defined beneath the following ancestor nodes in the YAML structure:
Below are the properties for the SingularTestPython
. Each property links to the specific details section further down in this page.
Property | Default | Type | Required | Description |
---|---|---|---|---|
dependencies | array[None] | No | List of dependencies that must complete before this component runs. | |
severity | error | string ("error", "warn") | No | The severity level for issues raised by the test. Default is 'error'. Use 'error' for critical issues that should interrupt flow processing. Use 'warn' for warnings/minor issues that should not interrupt flow processing. |
inputs | array[None] | No | List of input components to use as data sources for the test. | |
python | No | Python transform function that tests data for conditions. |
Property Details​
Component​
A component is a fundamental building block of a data flow. Types of components that are supported include: read, transform, task, test, and more.
Property | Default | Type | Required | Description |
---|---|---|---|---|
component | One of:   CustomPythonReadComponent   ApplicationComponent   AliasedTableComponent   ExternalTableComponent | Yes | Configuration options for the component. |
SingularTestComponent​
A singular test (Python or SQL) that runs as a standalone component.
Property | Default | Type | Required | Description |
---|---|---|---|---|
skip | boolean | No | A boolean flag indicating whether to skip processing for the component or not. | |
retry_strategy | No | The retry strategy configuration options for the component if any exceptions are encountered. | ||
description | string | No | A brief description of what the model does. | |
metadata | No | Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources. | ||
name | string | Yes | The name of the model | |
flow_name | string | No | The name of the flow that the component belongs to. | |
singular_test | One of: Â Â SingularTestPython | Yes | Singular test to run. |