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.

Janvi 0 Reputation points
2025-01-23T21:03:07.7466667+00:00

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.

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,355 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.