Skip to main content
Version: 3.0.0

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.

PropertyDefaultTypeRequiredDescription
dependenciesarray[None]
NoList of dependencies that must complete before this component runs.
severityerrorstring ("error", "warn")NoThe 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.
inputsarray[None]
NoList of input components to use as data sources for the test.
pythonNoPython 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.

PropertyDefaultTypeRequiredDescription
componentOne of:
  CustomPythonReadComponent
  ApplicationComponent
  AliasedTableComponent
  ExternalTableComponent
YesConfiguration options for the component.

SingularTestComponent​

A singular test (Python or SQL) that runs as a standalone component.

PropertyDefaultTypeRequiredDescription
skipboolean
NoA boolean flag indicating whether to skip processing for the component or not.
retry_strategyNoThe retry strategy configuration options for the component if any exceptions are encountered.
descriptionstring
NoA brief description of what the model does.
metadataNoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
flow_namestring
NoThe name of the flow that the component belongs to.
singular_testOne of:
  SingularTestPython
YesSingular test to run.