UserWarning: Using `classifications` as a field header is deprecated and will be unsupported in the future. Please use `[root] classifications` instead. warn("Using `classifications` as a field header is deprecated and will be unsupported in the future.
I am trying to upload classification for columns in purview using pyapacheatlas upload_entities() function. However, I am keep getting this error message
UserWarning: Using classifications
as a field header is deprecated and will be unsupported in the future. Please use [root] classifications
instead.
warn("Using classifications
as a field header is deprecated and will be unsupported in the future."
I did try changing column header to [root] classifications in excel BulkEntities worksheet. I am still getting same error. I am referring to this document: https://wjohnson.github.io/pyapacheatlas-docs/latest/readers/excel-config.html
[root]`` ``classifications
assigns classifications to the uploaded entity. The value in the spreadsheet must match the classification’s formal name and not the friendly name. You can provide multiple classifications by delimiting with a semi-colon (;) by default. This is configurable in the ExcelConfiguration
.
Note: You can only apply classifications to NEW entities by the design of the /entity/bulk
endpoint. To update an existing entity’s classifications, you must do so programmatically with the classify_bulk_entities or classify_entity method.