LucoPy is a Python SDK designed to facilitate interaction with the Luco data observability tool's API. It provides functionality for submitting data quality results, reporting metrics, and managing data slots. The current stable version is 1.3.14, which was released on September 27, 2023.
pip install LucoPyVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize the `LucoApi` client. It retrieves authentication details (base URL, tenant ID, client ID, client secret, and resource ID) from environment variables for security. After initialization, the client is ready to interact with the Luco API for data observability tasks.
Upgrade to LucoPy version 1.3.6 or later to use the refactored method. If on an affected version, adjust code to the new return format or pin a version prior to 1.3.3.
Ensure environment variables like `LUCO_TENANT_ID`, `LUCO_CLIENT_ID`, `LUCO_CLIENT_SECRET`, `LUCO_RESOURCE_ID`, and `LUCO_BASE_URL` are set, or pass the corresponding values as arguments to the `LucoApi` constructor.
Verify that all required authentication parameters are correctly provided to the `LucoApi` constructor, either directly or via the specified environment variables (e.g., `LUCO_BASE_ID`, `LUCO_TENANT_ID`, `LUCO_CLIENT_ID`, `LUCO_CLIENT_SECRET`, `LUCO_RESOURCE_ID`). Check for typos or expired secrets.
Update your `lucopy` package to version 1.3.6 or newer (`pip install --upgrade LucoPy`) to use the corrected method signature. Alternatively, if upgrading is not an option, review the specific return format for your exact `lucopy` version (1.3.3-1.3.5) and adjust your code accordingly.
No dependency data recorded yet.