mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-26 01:23:16 +00:00
feat(dataset): add support for external url in Dataset (#10877)
This commit is contained in:
parent
5f38d13eb7
commit
cfcd216924
@ -162,6 +162,7 @@ class Dataset(BaseModel):
|
|||||||
structured_properties: Optional[
|
structured_properties: Optional[
|
||||||
Dict[str, Union[str, float, List[Union[str, float]]]]
|
Dict[str, Union[str, float, List[Union[str, float]]]]
|
||||||
] = None
|
] = None
|
||||||
|
external_url: Optional[str] = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def platform_urn(self) -> str:
|
def platform_urn(self) -> str:
|
||||||
@ -236,6 +237,7 @@ class Dataset(BaseModel):
|
|||||||
description=self.description,
|
description=self.description,
|
||||||
name=self.name,
|
name=self.name,
|
||||||
customProperties=self.properties,
|
customProperties=self.properties,
|
||||||
|
externalUrl=self.external_url,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
yield mcp
|
yield mcp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user