This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
catalog_ai_lake.
get_operation
get_operation(operation_id: str) -> CatalogAILakeOperation
Fetch the current state of a long-running AI Lake operation.
Parameters
| name | type | description |
|---|---|---|
| operation_id: str | str |
Returns
| type | description |
|---|---|
| CatalogAILakeOperation |
Example
operation_id = sdk.catalog_ai_lake.analyze_statistics(instance_id="warehouse-prod")
op = sdk.catalog_ai_lake.get_operation(operation_id)
if op.is_terminal:
print(op.status, op.result or op.error)