Get the processing status of a dataset
datasets.get_status(strdataset_id) -> DatasetGetStatusResponse
GET/api/v1/datasets/{dataset_id}/status
Get the processing status of a dataset
import os
from adaption import Adaption
client = Adaption(
api_key=os.environ.get("ADAPTION_API_KEY"), # This is the default and can be omitted
)
response = client.datasets.get_status(
"dataset_id",
)
print(response.dataset_id){
"dataset_id": "dataset_id",
"error": {
"message": "message"
},
"progress": {
"percent": 0,
"processed_rows": 0,
"total_rows": 0
},
"row_count": 0,
"status": "pending"
}Returns Examples
{
"dataset_id": "dataset_id",
"error": {
"message": "message"
},
"progress": {
"percent": 0,
"processed_rows": 0,
"total_rows": 0
},
"row_count": 0,
"status": "pending"
}