From 474ed1ca1717e9e7d843c0f532924fd9299f6b8a Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Sun, 22 May 2022 21:53:15 -0700 Subject: [PATCH] Fix build issues - Markdown field (#5092) --- ingestion/src/metadata/ingestion/sink/metadata_rest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestion/src/metadata/ingestion/sink/metadata_rest.py b/ingestion/src/metadata/ingestion/sink/metadata_rest.py index a25cb2ab89a..39d1a7b58f8 100644 --- a/ingestion/src/metadata/ingestion/sink/metadata_rest.py +++ b/ingestion/src/metadata/ingestion/sink/metadata_rest.py @@ -169,7 +169,7 @@ class MetadataRestSink(Sink[Entity]): ) if db_schema_and_table.table.description is not None: db_schema_and_table.table.description = ( - db_schema_and_table.table.description.strip() + db_schema_and_table.table.description.__root__.strip() ) table_request = CreateTableRequest( @@ -190,7 +190,7 @@ class MetadataRestSink(Sink[Entity]): if db_schema_and_table.location is not None: if db_schema_and_table.location.description is not None: db_schema_and_table.location.description = ( - db_schema_and_table.location.description.strip() + db_schema_and_table.location.description.__root__.strip() ) location_request = CreateLocationRequest( name=db_schema_and_table.location.name,