mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
parent
5a8c70bbe9
commit
5c56d479d8
@ -162,6 +162,8 @@ class MetadataRestSink(Sink[Entity]):
|
|||||||
location_request = CreateLocationEntityRequest(
|
location_request = CreateLocationEntityRequest(
|
||||||
name=db_and_table.location.name,
|
name=db_and_table.location.name,
|
||||||
description=db_and_table.location.description.strip(),
|
description=db_and_table.location.description.strip(),
|
||||||
|
locationType=db_and_table.location.locationType,
|
||||||
|
owner=db_and_table.location.owner,
|
||||||
service=EntityReference(
|
service=EntityReference(
|
||||||
id=db_and_table.location.service.id,
|
id=db_and_table.location.service.id,
|
||||||
type="storageService",
|
type="storageService",
|
||||||
@ -288,7 +290,6 @@ class MetadataRestSink(Sink[Entity]):
|
|||||||
name=location.name,
|
name=location.name,
|
||||||
description=location.description,
|
description=location.description,
|
||||||
locationType=location.locationType,
|
locationType=location.locationType,
|
||||||
tags=location.tags,
|
|
||||||
owner=location.owner,
|
owner=location.owner,
|
||||||
service=location.service,
|
service=location.service,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user