mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-25 17:15:09 +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[
|
||||
Dict[str, Union[str, float, List[Union[str, float]]]]
|
||||
] = None
|
||||
external_url: Optional[str] = None
|
||||
|
||||
@property
|
||||
def platform_urn(self) -> str:
|
||||
@ -236,6 +237,7 @@ class Dataset(BaseModel):
|
||||
description=self.description,
|
||||
name=self.name,
|
||||
customProperties=self.properties,
|
||||
externalUrl=self.external_url,
|
||||
),
|
||||
)
|
||||
yield mcp
|
||||
|
Loading…
x
Reference in New Issue
Block a user