0 votes
Hi,

 is it possible to set a metrics from a python script instead of DSS calculation? My python script is uploading CSV file into a folder, on top of this folder is a dataset. I have already the record, column count  in the script, so I would like to update these metrics:

'metrics': ['basic:COUNT_COLUMNS',
                'basic:COUNT_FILES',
                'basic:SIZE' ]

Thanks

T
asked by

1 Answer

0 votes
Best answer
Hello,

By design, this is not possible as metrics computation is managed by DSS. For setting your custom parameters outside of the DSS managed metrics, we recommend setting dataset metadata: https://doc.dataiku.com/dss/latest/publicapi/client-python/datasets.html#dataikuapi.dss.dataset.DSSDataset.set_metadata

Cheers,

Alex
answered by
selected by
947 questions
978 answers
989 comments
2,132 users

┬ęDataiku 2012-2018 - Privacy Policy