mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 12:08:31 +00:00
Fix build issues - Markdown field (#5092)
This commit is contained in:
parent
eab5bf9a0e
commit
474ed1ca17
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user