Skip to content

Last updated: September 29, 2024

DQOps REST API data_catalog_synchronization operations

Operations related to synchronization of data quality health results to the a data catalog.


push_data_quality_status_to_data_catalog

Pushes the data quality status of tables matching the search filters to the data catalog.

Follow the link to see the source code on GitHub.

PUT

http://localhost:8888/api/datacatalog/sync/pushdatahealth

Parameters of this method are described below

 Property name   Description                       Data type   Required 
connection Optional connection name filter, accepts filters in the form: fullname, suffix, prefix, contains. string
schema Optional schema name filter, accepts filters in the form: fullname, suffix, prefix, contains. string
table Optional table name filter, accepts filters in the form: fullname, suffix, prefix, contains. string

Usage examples

Execution

curl -X PUT http://localhost:8888/api/datacatalog/sync/pushdatahealth^
    -H "Accept: application/json"

Execution

from dqops import client
from dqops.client.api.data_catalog_synchronization import push_data_quality_status_to_data_catalog

dqops_client = client.Client(
    'http://localhost:8888/'
)

call_result = push_data_quality_status_to_data_catalog.sync(
    client=dqops_client
)

Execution

from dqops import client
from dqops.client.api.data_catalog_synchronization import push_data_quality_status_to_data_catalog

dqops_client = client.Client(
    'http://localhost:8888/'
)

call_result = await push_data_quality_status_to_data_catalog.asyncio(
    client=dqops_client
)

Execution

from dqops import client
from dqops.client.api.data_catalog_synchronization import push_data_quality_status_to_data_catalog

token = 's4mp13_4u7h_70k3n'

dqops_client = client.AuthenticatedClient(
    'http://localhost:8888/',
    token=token
)

call_result = push_data_quality_status_to_data_catalog.sync(
    client=dqops_client
)

Execution

from dqops import client
from dqops.client.api.data_catalog_synchronization import push_data_quality_status_to_data_catalog

token = 's4mp13_4u7h_70k3n'

dqops_client = client.AuthenticatedClient(
    'http://localhost:8888/',
    token=token
)

call_result = await push_data_quality_status_to_data_catalog.asyncio(
    client=dqops_client
)